mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +00:00
Merge pull request #738 from mnaser/bug/737
Increase timeout in test setups
This commit is contained in:
commit
174c9176dc
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ func setupTest(args *nfdmaster.Args) testContext {
|
||||||
ctx.errs <- ctx.master.Run()
|
ctx.errs <- ctx.master.Run()
|
||||||
close(ctx.errs)
|
close(ctx.errs)
|
||||||
}()
|
}()
|
||||||
ready := ctx.master.WaitForReady(time.Second)
|
ready := ctx.master.WaitForReady(5 * time.Second)
|
||||||
if !ready {
|
if !ready {
|
||||||
fmt.Println("Test setup failed: timeout while waiting for nfd-master")
|
fmt.Println("Test setup failed: timeout while waiting for nfd-master")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
|
@ -54,7 +54,7 @@ func setupTest(args *master.Args) testContext {
|
||||||
ctx.errs <- ctx.master.Run()
|
ctx.errs <- ctx.master.Run()
|
||||||
close(ctx.errs)
|
close(ctx.errs)
|
||||||
}()
|
}()
|
||||||
ready := ctx.master.WaitForReady(time.Second)
|
ready := ctx.master.WaitForReady(5 * time.Second)
|
||||||
if !ready {
|
if !ready {
|
||||||
fmt.Println("Test setup failed: timeout while waiting for nfd-master")
|
fmt.Println("Test setup failed: timeout while waiting for nfd-master")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue