Remove tomcat vm test timing issues
(cherry picked from commit 090f1f0722b79cbba5f0abccac61496398789762) Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
77b9abf78c
commit
8ea8659f29
|
@ -23,9 +23,8 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||
startAll;
|
||||
|
||||
$server->waitForUnit("tomcat");
|
||||
$server->sleep(30); # Dirty, but it takes a while before Tomcat handles to requests properly
|
||||
$client->waitForUnit("network.target");
|
||||
$client->succeed("curl --fail http://server/examples/servlets/servlet/HelloWorldExample");
|
||||
$client->succeed("curl --fail http://server/examples/jsp/jsp2/simpletag/hello.jsp");
|
||||
$client->waitUntilSucceeds("curl --fail http://server/examples/servlets/servlet/HelloWorldExample");
|
||||
$client->waitUntilSucceeds("curl --fail http://server/examples/jsp/jsp2/simpletag/hello.jsp");
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue