diff --git a/integration/integration_tms_export_test.go b/integration/integration_tms_export_test.go index 8ee561708f..f661a89b47 100644 --- a/integration/integration_tms_export_test.go +++ b/integration/integration_tms_export_test.go @@ -19,7 +19,7 @@ func TestTmsExportIntegrationYaml(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -41,7 +41,7 @@ func TestTmsExportIntegrationBinFailDescription(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) diff --git a/integration/integration_tms_upload_test.go b/integration/integration_tms_upload_test.go index e7b93dc7b3..b240e2bb9c 100644 --- a/integration/integration_tms_upload_test.go +++ b/integration/integration_tms_upload_test.go @@ -32,7 +32,7 @@ func TestTmsUploadIntegrationBinSuccess(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -58,7 +58,7 @@ func TestTmsUploadIntegrationBinNoDescriptionSuccess(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -105,7 +105,7 @@ func TestTmsUploadIntegrationBinFailDescription(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -126,7 +126,7 @@ func TestTmsUploadIntegrationYaml(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t)