src/it/reserve-ports-with-min-root-range/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=1024") |
| 9 | assert text.contains("port2=1025") |
| 10 | assert text.contains("port3=1026") |
| 11 | return true; |