diff options
author | 2025-01-29 15:53:21 -0800 | |
---|---|---|
committer | 2025-01-31 11:31:24 -0800 | |
commit | 844cb6a6646454aaba28b602cf49284df32cdc9f (patch) | |
tree | 7c9ee579c7821f59b44e7a035b2a703fa5a2ab08 /java/ravenwood_test.go | |
parent | 03272a40f104893ae6082aaeb882216fec4eb1f3 (diff) |
Add t.Parallel() to java tests
Speeds up go test ./java from 32 seconds to 9 seconds.
Test: go test ./java
Change-Id: I4c6640e787c0744c6dfda03b7382839b452e24cf
Diffstat (limited to 'java/ravenwood_test.go')
-rw-r--r-- | java/ravenwood_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/ravenwood_test.go b/java/ravenwood_test.go index f7fe8e30b..ac4f14782 100644 --- a/java/ravenwood_test.go +++ b/java/ravenwood_test.go @@ -103,6 +103,7 @@ var prepareRavenwoodRuntime = android.GroupFixturePreparers( var installPathPrefix = "out/host/linux-x86/testcases" func TestRavenwoodRuntime(t *testing.T) { + t.Parallel() if runtime.GOOS != "linux" { t.Skip("requires linux") } @@ -133,6 +134,7 @@ func TestRavenwoodRuntime(t *testing.T) { } func TestRavenwoodTest(t *testing.T) { + t.Parallel() if runtime.GOOS != "linux" { t.Skip("requires linux") } |