Do not make java runtime tests generate HTML report.

This report is not consumed anywhere and this step
adds a lot of seconds of delay for jtreg to return.

You can see reproduce the delay locally by running
the java runtime tests.

Before:
```
...
Test results: passed: 1
Report written to /root/JTreport/html/report.html
Results written to /root/JTwork
```

After:
```
...
Test results: passed: 1
Results written to /root/JTwork
```
PiperOrigin-RevId: 450461090
This commit is contained in:
Ayush Ranjan
2022-05-23 09:50:31 -07:00
committed by gVisor bot
parent bb1a83085b
commit 2ae946428d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ download the language image and call Docker directly with the test arguments.
Language | Version | Download Image | Run Test(s)
-------- | ------- | ---------------------------------- | -----------
Go | 1.16 | `make load-runtimes_go1.16` | If the test name ends with `.go`, it is an on-disk test: <br> `docker run --runtime=runsc -it gvisor.dev/images/runtimes/go1.16 ( cd /usr/local/go/test ; go run run.go -v -- <TEST_NAME>... )` <br> Otherwise it is a tool test: <br> `docker run --runtime=runsc -it gvisor.dev/images/runtimes/go1.16 go tool dist test -v -no-rebuild ^TEST1$\|^TEST2$...`
Java | 17 | `make load-runtimes_java17` | `docker run --runtime=runsc -it gvisor.dev/images/runtimes/java17 jtreg -agentvm -dir:/root/test/jdk -noreport -timeoutFactor:20 -verbose:summary <TEST_NAME>...`
Java | 17 | `make load-runtimes_java17` | `docker run --runtime=runsc -it gvisor.dev/images/runtimes/java17 jtreg -agentvm -dir:/root/test/jdk -noreport -timeoutFactor:5 -verbose:all -tl:200 <TEST_NAME>...`
NodeJS | 16.13.2 | `make load-runtimes_nodejs16.13.2` | `docker run --runtime=runsc -it gvisor.dev/images/runtimes/nodejs16.13.2 python tools/test.py --timeout=180 <TEST_NAME>...`
Php | 8.1.1 | `make load-runtimes_php8.1.1` | `docker run --runtime=runsc -it gvisor.dev/images/runtimes/php8.1.1 make test "TESTS=<TEST_NAME>..."`
Python | 3.10.2 | `make load-runtimes_python3.10.2` | `docker run --runtime=runsc -it gvisor.dev/images/runtimes/python3.10.2 ./python -m test <TEST_NAME>...`
+1
View File
@@ -66,6 +66,7 @@ func (javaRunner) TestCmds(tests []string) []*exec.Cmd {
[]string{
"-agentvm", // Execute each action using a pool of reusable JVMs.
"-dir:" + javaTestDir, // Base directory for test files and directories.
"-noreport", // Do not generate /root/JTreport/html/report.html.
"-timeoutFactor:5", // Extend the default timeout (2 min) of all tests by this factor.
"-verbose:all", // Verbose output.
"-tl:200", // Do not run tests which specify a timeout longer than 200s.