Skip to content

Commit 651988d

Browse files
authored
remove sleep and repeat test to check non flakyness (#19454)
* remove sleep and repeat test to check non flakyness * Remove repeated test
1 parent 05c99c1 commit 651988d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/BasicAcceptanceTests.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,6 @@ void testDeleteConnection() throws Exception {
688688
// connectionIds.remove(connectionId); // todo remove
689689
testHarness.removeConnection(connectionId);
690690

691-
LOGGER.info("Waiting for connection to be deleted...");
692-
Thread.sleep(5000);
693-
694691
ConnectionStatus connectionStatus =
695692
apiClient.getConnectionApi().getConnection(new ConnectionIdRequestBody().connectionId(connectionId)).getStatus();
696693
assertEquals(ConnectionStatus.DEPRECATED, connectionStatus);
@@ -710,9 +707,6 @@ void testDeleteConnection() throws Exception {
710707
// we should still be able to delete the connection when the temporal workflow is in this state
711708
apiClient.getConnectionApi().deleteConnection(new ConnectionIdRequestBody().connectionId(connectionId));
712709

713-
LOGGER.info("Waiting for connection to be deleted...");
714-
Thread.sleep(5000);
715-
716710
connectionStatus = apiClient.getConnectionApi().getConnection(new ConnectionIdRequestBody().connectionId(connectionId)).getStatus();
717711
assertEquals(ConnectionStatus.DEPRECATED, connectionStatus);
718712
}

0 commit comments

Comments
 (0)