Skip to content

Commit d82398f

Browse files
authored
changing create to createIfNotExists to avoid 409 for container creation (Azure#34296)
1 parent ae2d696 commit d82398f

File tree

1 file changed

+1
-1
lines changed
  • sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake

1 file changed

+1
-1
lines changed

sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/APISpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class APISpec extends StorageSpec {
8080
fileSystemName = generateFileSystemName()
8181
fsc = primaryDataLakeServiceClient.getFileSystemClient(fileSystemName)
8282
fscAsync = primaryDataLakeServiceAsyncClient.getFileSystemAsyncClient(fileSystemName)
83-
fsc.create()
83+
fsc.createIfNotExists()
8484
}
8585

8686
def cleanup() {

0 commit comments

Comments
 (0)