Skip to content

Commit

Permalink
adding LiveOnly annotations for DataLake CPK test
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimrabab committed Jun 7, 2024
1 parent 90331bc commit da6cf7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package com.azure.storage.file.datalake;

import com.azure.core.http.rest.Response;
import com.azure.core.test.annotation.LiveOnly;
import com.azure.storage.file.datalake.models.CustomerProvidedKey;
import com.azure.storage.file.datalake.models.FileReadAsyncResponse;
import com.azure.storage.file.datalake.models.PathInfo;
Expand All @@ -20,7 +21,9 @@
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@LiveOnly
public class CpkAsyncTests extends DataLakeTestBase {
// LiveOnly because "x-ms-encryption-key-sha256 should not be stored in recordings"
private CustomerProvidedKey key;
private DataLakeFileAsyncClient cpkFile;
private DataLakeDirectoryAsyncClient cpkDirectory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package com.azure.storage.file.datalake;

import com.azure.core.http.rest.Response;
import com.azure.core.test.annotation.LiveOnly;
import com.azure.storage.file.datalake.models.CustomerProvidedKey;
import com.azure.storage.file.datalake.models.PathInfo;
import com.azure.storage.file.datalake.models.PathProperties;
Expand All @@ -18,7 +19,9 @@
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

@LiveOnly
public class CpkTests extends DataLakeTestBase {
// LiveOnly because "x-ms-encryption-key-sha256 should not be stored in recordings"
private CustomerProvidedKey key;
private DataLakeFileClient cpkFile;
private DataLakeDirectoryClient cpkDirectory;
Expand Down

0 comments on commit da6cf7d

Please sign in to comment.