Skip to content

Commit

Permalink
Fix TestGetTMDSV4ResponseNonECSEnvironment in fargate support driver
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymint committed Apr 21, 2021
1 parent 2f1bc82 commit 7504dab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cloud/task_metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ func TestGetTaskMetadataService(t *testing.T) {
}

func TestGetTMDSV4ResponseNonECSEnvironment(t *testing.T) {
os.Remove(taskMetadataV4EnvName)
// with current test we don't need it, but serve as double down on existent of this env
os.Unsetenv(taskMetadataV4EnvName)
taskMetadataService := taskMetadata{}
_, err := taskMetadataService.GetTMDSV4Response()
if err == nil {
Expand Down

0 comments on commit 7504dab

Please sign in to comment.