Skip to content

Commit

Permalink
Shorter ut wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
dongxuny committed Nov 1, 2021
1 parent 34860be commit 8cae3fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ gin:

time.Sleep(1 * time.Second)
rkentry.GlobalAppCtx.GetShutdownSig() <- syscall.SIGTERM
time.Sleep(3 * time.Second)
time.Sleep(1 * time.Second)
rkentry.GlobalAppCtx.RemoveEntry("ut-gin")
}

Expand Down Expand Up @@ -94,7 +94,7 @@ echo:

time.Sleep(1 * time.Second)
rkentry.GlobalAppCtx.GetShutdownSig() <- syscall.SIGTERM
time.Sleep(3 * time.Second)
time.Sleep(1 * time.Second)
rkentry.GlobalAppCtx.RemoveEntry("ut-echo")
}

Expand Down Expand Up @@ -135,7 +135,7 @@ grpc:

time.Sleep(1 * time.Second)
rkentry.GlobalAppCtx.GetShutdownSig() <- syscall.SIGTERM
time.Sleep(3 * time.Second)
time.Sleep(1 * time.Second)
rkentry.GlobalAppCtx.RemoveEntry("ut-grpc")

}
Expand Down

0 comments on commit 8cae3fd

Please sign in to comment.