diff --git a/tests/jenkins/TestDataPrepperDistributionArtifacts.groovy b/tests/jenkins/TestDataPrepperDistributionArtifacts.groovy index 03b71205b4..edd308d575 100644 --- a/tests/jenkins/TestDataPrepperDistributionArtifacts.groovy +++ b/tests/jenkins/TestDataPrepperDistributionArtifacts.groovy @@ -24,7 +24,7 @@ class TestDataPrepperDistributionArtifacts extends BuildPipelineTest { this.registerLibTester(new SignArtifactsLibTester( '.sig', 'linux', artifactsPath)) - this.registerLibTester(new TestUploadToS3LibTester( artifactsPath, bucketName, 'data-prepper-distribution-artifacts/0.22.1/51/builds/signed')) + this.registerLibTester(new UploadToS3LibTester( artifactsPath, bucketName, 'data-prepper-distribution-artifacts/0.22.1/51/builds/signed')) this.registerLibTester(new PrintArtifactDownloadUrlsForStagingLibTester( filenamesForUrls, 'data-prepper-distribution-artifacts/0.22.1/51/builds/signed')) diff --git a/tests/jenkins/TestSignStandaloneArtifactsJob.groovy b/tests/jenkins/TestSignStandaloneArtifactsJob.groovy index fe99f0c21c..72e32b1be9 100644 --- a/tests/jenkins/TestSignStandaloneArtifactsJob.groovy +++ b/tests/jenkins/TestSignStandaloneArtifactsJob.groovy @@ -18,7 +18,7 @@ class TestSignStandaloneArtifactsJob extends BuildPipelineTest { this.registerLibTester(new PrintArtifactDownloadUrlsForStagingLibTester(filenamesForUrls, 'sign_artifacts_job/dummy/upload/path/20/dist/signed')) - this.registerLibTester(new TestUploadToS3LibTester(artifactPath, 'dummy_bucket_name', 'sign_artifacts_job/dummy/upload/path/20/dist/signed')) + this.registerLibTester(new UploadToS3LibTester(artifactPath, 'dummy_bucket_name', 'sign_artifacts_job/dummy/upload/path/20/dist/signed')) super.setUp() diff --git a/tests/jenkins/TestUploadToS3.groovy b/tests/jenkins/TestUploadToS3.groovy index b4c20026e1..2a64b48cb6 100644 --- a/tests/jenkins/TestUploadToS3.groovy +++ b/tests/jenkins/TestUploadToS3.groovy @@ -8,7 +8,7 @@ class TestUploadToS3 extends BuildPipelineTest { @Before void setUp() { - this.registerLibTester(new TestUploadToS3LibTester( '/tmp/src/path', 'dummy_bucket', '/upload/path' )) + this.registerLibTester(new UploadToS3LibTester( '/tmp/src/path', 'dummy_bucket', '/upload/path' )) super.setUp() } diff --git a/tests/jenkins/lib-testers/TestUploadToS3LibTester.groovy b/tests/jenkins/lib-testers/UploadToS3LibTester.groovy similarity index 91% rename from tests/jenkins/lib-testers/TestUploadToS3LibTester.groovy rename to tests/jenkins/lib-testers/UploadToS3LibTester.groovy index 76f045d9eb..7adb3222c5 100644 --- a/tests/jenkins/lib-testers/TestUploadToS3LibTester.groovy +++ b/tests/jenkins/lib-testers/UploadToS3LibTester.groovy @@ -1,13 +1,13 @@ import static org.hamcrest.CoreMatchers.notNullValue import static org.hamcrest.MatcherAssert.assertThat -class TestUploadToS3LibTester extends LibFunctionTester { +class UploadToS3LibTester extends LibFunctionTester { private String sourcePath private String bucket private String path - public TestUploadToS3LibTester(sourcePath, bucket, path){ + public UploadToS3LibTester(sourcePath, bucket, path){ this.sourcePath = sourcePath this.bucket = bucket this.path = path