Skip to content

Commit

Permalink
reset CoordinatorShutdownTimeout to default value
Browse files Browse the repository at this point in the history
  • Loading branch information
leehinman committed Oct 5, 2023
1 parent d104f9f commit ca6ffb2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ func TestCoordinatorShutdownErrorOneResponse(t *testing.T) {
}

func TestCoordinatorShutdownErrorAllResponses(t *testing.T) {
CoordinatorShutdownTimeout = 5 * time.Second
handlerChan, runtime, varWatcher, config := setupAndWaitCoordinatorDone()
runtimeErrStr := "runtime error"
varsErrStr := "vars error"
Expand All @@ -349,6 +350,7 @@ func TestCoordinatorShutdownErrorAllResponses(t *testing.T) {
}

func TestCoordinatorShutdownAllResponsesNoErrors(t *testing.T) {
CoordinatorShutdownTimeout = 5 * time.Second
handlerChan, runtime, varWatcher, config := setupAndWaitCoordinatorDone()
runtime <- nil
varWatcher <- nil
Expand Down

0 comments on commit ca6ffb2

Please sign in to comment.