Skip to content

Commit

Permalink
Fix flaky unit test for awsentity translator logics
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihonl committed Nov 11, 2024
1 parent cbe5d42 commit d430420
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 d430420

Please sign in to comment.