Skip to content

Commit 779c528

Browse files
committed
Fix Gen2 storage test
1 parent 0d0c12f commit 779c528

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

aws-storage-s3/src/androidTest/java/com/amplifyframework/storage/s3/StorageCanaryTestGen2.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ class StorageCanaryTestGen2 {
126126
val operation = syncStorage.getTransfer(op.transferId)
127127
Log.i(TAG, "Current State" + operation.transferState)
128128

129-
// Ensure the transfer finishes. We don't particularly care if it's successful or not at this point.
130-
// We just don't want it still going to potentially impact other tests.
131-
uploadComplete.get(TIMEOUT_S, TimeUnit.SECONDS)
129+
op.cancel()
132130
}
133131

134132
@Test

0 commit comments

Comments
 (0)