Skip to content

Commit

Permalink
Fix flaky unit test for awsentity translator logics (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihonl authored Nov 14, 2024
1 parent ef6480a commit b979421
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func TestTranslate(t *testing.T) {
t.Setenv(config.RUN_IN_CONTAINER, config.RUN_IN_CONTAINER_TRUE)
ecsutil.GetECSUtilSingleton().Region = "test"
} else {
ecsutil.GetECSUtilSingleton().Region = ""
context.CurrentContext().SetMode(testCase.mode)
context.CurrentContext().SetKubernetesMode(testCase.kubernetesMode)
}
Expand Down

0 comments on commit b979421

Please sign in to comment.