@@ -593,7 +593,6 @@ private void invokeGraphQLSubscriptionSuccess(WebSocketClient client, String acc
593
593
socket .sendMessage (textMessage );
594
594
Thread .sleep (20000 );
595
595
waitForReply (socket );
596
- Thread .sleep (20000 );
597
596
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
598
597
"Client did not receive response from server" );
599
598
assertEquals (socket .getResponseMessage (), "{\" type\" :\" connection_ack\" }" ,
@@ -607,7 +606,6 @@ private void invokeGraphQLSubscriptionSuccess(WebSocketClient client, String acc
607
606
socket .sendMessage (textMessage );
608
607
Thread .sleep (20000 );
609
608
waitForReply (socket );
610
- Thread .sleep (20000 );
611
609
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
612
610
"Client did not receive response from server" );
613
611
assertEquals (socket .getResponseMessage (), "{\" type\" :\" data\" ,\" id\" :\" 1\" ,\" payload\" :{\" data\" :"
@@ -791,7 +789,6 @@ private void invokeGraphQLSubscriptionScopeInvalidError(WebSocketClient client,
791
789
socket .sendMessage (textMessage );
792
790
Thread .sleep (20000 );
793
791
waitForReply (socket );
794
- Thread .sleep (20000 );
795
792
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
796
793
"Client did not receive response from server" );
797
794
assertEquals (socket .getResponseMessage (), "{\" type\" :\" connection_ack\" }" ,
@@ -805,7 +802,6 @@ private void invokeGraphQLSubscriptionScopeInvalidError(WebSocketClient client,
805
802
socket .sendMessage (textMessage );
806
803
Thread .sleep (20000 );
807
804
waitForReply (socket );
808
- Thread .sleep (20000 );
809
805
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
810
806
"Client did not receive response from server" );
811
807
String errorMessage = socket .getResponseMessage ();
@@ -848,7 +844,6 @@ private void invokeGraphQLSubscriptionForComplexityError(WebSocketClient client,
848
844
socket .sendMessage (textMessage );
849
845
Thread .sleep (20000 );
850
846
waitForReply (socket );
851
- Thread .sleep (20000 );
852
847
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
853
848
"Client did not receive response from server" );
854
849
assertEquals (socket .getResponseMessage (), "{\" type\" :\" connection_ack\" }" ,
@@ -862,7 +857,6 @@ private void invokeGraphQLSubscriptionForComplexityError(WebSocketClient client,
862
857
socket .sendMessage (textMessage );
863
858
Thread .sleep (20000 );
864
859
waitForReply (socket );
865
- Thread .sleep (20000 );
866
860
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
867
861
"Client did not receive response from server" );
868
862
String errorMessage = socket .getResponseMessage ();
@@ -906,7 +900,6 @@ private void invokeGraphQLSubscriptionForDepthError(WebSocketClient client, Stri
906
900
socket .sendMessage (textMessage );
907
901
Thread .sleep (20000 );
908
902
waitForReply (socket );
909
- Thread .sleep (20000 );
910
903
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
911
904
"Client did not receive response from server" );
912
905
assertEquals (socket .getResponseMessage (), "{\" type\" :\" connection_ack\" }" ,
@@ -920,7 +913,6 @@ private void invokeGraphQLSubscriptionForDepthError(WebSocketClient client, Stri
920
913
socket .sendMessage (textMessage );
921
914
Thread .sleep (20000 );
922
915
waitForReply (socket );
923
- Thread .sleep (20000 );
924
916
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
925
917
"Client did not receive response from server" );
926
918
String errorMessage = socket .getResponseMessage ();
@@ -964,7 +956,6 @@ private void invokeGraphQLSubscriptionForInvalidPayloadError(WebSocketClient cli
964
956
socket .sendMessage (textMessage );
965
957
Thread .sleep (20000 );
966
958
waitForReply (socket );
967
- Thread .sleep (20000 );
968
959
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
969
960
"Client did not receive response from server" );
970
961
assertEquals (socket .getResponseMessage (), "{\" type\" :\" connection_ack\" }" ,
@@ -978,7 +969,6 @@ private void invokeGraphQLSubscriptionForInvalidPayloadError(WebSocketClient cli
978
969
socket .sendMessage (textMessage );
979
970
Thread .sleep (20000 );
980
971
waitForReply (socket );
981
- Thread .sleep (20000 );
982
972
assertFalse (StringUtils .isEmpty (socket .getResponseMessage ()),
983
973
"Client did not receive response from server" );
984
974
String errorMessage = socket .getResponseMessage ();
0 commit comments