Skip to content

Commit

Permalink
refactor filename to match convention (opensearch-project#1562)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinav Gupta <[email protected]>
  • Loading branch information
abhinavGupta16 authored Jan 26, 2022
1 parent 17290ac commit e9ce1cd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/jenkins/TestDataPrepperDistributionArtifacts.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

Expand Down
2 changes: 1 addition & 1 deletion tests/jenkins/TestSignStandaloneArtifactsJob.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion tests/jenkins/TestUploadToS3.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e9ce1cd

Please sign in to comment.