mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
e2e: even more time for exec+java tests (#19347)
This commit is contained in:
@@ -82,7 +82,7 @@ func testJavaNamespacePID(t *testing.T) {
|
||||
job, cleanup := jobs3.Submit(t,
|
||||
"./input/java.hcl",
|
||||
jobs3.WaitComplete("group"),
|
||||
jobs3.Timeout(time.Second*30), // exec prestart can be slow
|
||||
jobs3.Timeout(time.Second*60), // exec prestart + java main
|
||||
)
|
||||
t.Cleanup(cleanup)
|
||||
|
||||
@@ -94,7 +94,7 @@ func testJavaHostPID(t *testing.T) {
|
||||
job, cleanup := jobs3.Submit(t,
|
||||
"./input/java_host.hcl",
|
||||
jobs3.WaitComplete("group"),
|
||||
jobs3.Timeout(time.Second*30), // exec prestart can be slow
|
||||
jobs3.Timeout(time.Second*60), // exec prestart + java main
|
||||
)
|
||||
t.Cleanup(cleanup)
|
||||
|
||||
@@ -107,7 +107,7 @@ func testJavaHostPID(t *testing.T) {
|
||||
func testJavaNamespaceAllocExec(t *testing.T) {
|
||||
job, cleanup := jobs3.Submit(t,
|
||||
"./input/alloc_exec_java.hcl",
|
||||
jobs3.Timeout(time.Second*30), // exec prestart can be slow
|
||||
jobs3.Timeout(time.Second*60), // exec prestart + java main
|
||||
)
|
||||
t.Cleanup(cleanup)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user