Debian Codegraph @

src/it/reserve-ports-with-random/verify.groovy

raw
1 File file = new File( basedir, "build.log" );
2 assert file.exists();
3
4 String text = file.getText("utf-8");
5
6 // FIXME: That IT could fail if the port is already taken
7 // Only check if the reserved values are *higher* than 1024?
8 assert text.contains("port1=900")
9 assert text.contains("port2=900")
10 assert text.contains("port3=900")
11 return true;