|
18 | 18 | import com.spectralogic.ds3client.Ds3Client;
|
19 | 19 | import com.spectralogic.ds3client.commands.GetServiceRequest;
|
20 | 20 | import com.spectralogic.ds3client.commands.GetServiceResponse;
|
21 |
| -import com.spectralogic.ds3client.integration.test.helpers.TempStorageIds; |
22 |
| -import com.spectralogic.ds3client.integration.test.helpers.TempStorageUtil; |
23 |
| -import com.spectralogic.ds3client.models.ChecksumType; |
24 | 21 | import org.junit.AfterClass;
|
25 | 22 | import org.junit.BeforeClass;
|
26 | 23 | import org.junit.Test;
|
27 | 24 |
|
28 | 25 | import java.io.IOException;
|
29 | 26 | import java.security.SignatureException;
|
30 |
| -import java.util.UUID; |
31 | 27 |
|
32 | 28 | import static org.hamcrest.CoreMatchers.is;
|
33 | 29 | import static org.hamcrest.CoreMatchers.notNullValue;
|
|
41 | 37 | public class Insecure_Test {
|
42 | 38 |
|
43 | 39 | private static Ds3Client client;
|
44 |
| - private static final String TEST_ENV_NAME = "insecure_test"; |
45 |
| - private static TempStorageIds envStorageIds; |
46 | 40 |
|
47 | 41 | @BeforeClass
|
48 | 42 | public static void startup() throws IOException, SignatureException {
|
49 |
| - client = Util.fromEnv(); |
50 |
| - final UUID dataPolicyId = TempStorageUtil.setupDataPolicy(TEST_ENV_NAME, true, ChecksumType.Type.MD5, client); |
51 |
| - envStorageIds = TempStorageUtil.setup(TEST_ENV_NAME, dataPolicyId, client); |
| 43 | + client = Util.insecureFromEnv(); |
52 | 44 | }
|
53 | 45 |
|
54 | 46 | @AfterClass
|
55 | 47 | public static void teardown() throws IOException, SignatureException {
|
56 |
| - TempStorageUtil.teardown(TEST_ENV_NAME, envStorageIds, client); |
57 | 48 | client.close();
|
58 | 49 | }
|
59 | 50 |
|
|
0 commit comments