diff options
author | Paul Duffin <paulduffin@google.com> | 2021-03-24 14:54:12 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-03-24 15:09:37 +0000 |
commit | a35178b10506677ed6c22cfd94df77d44692e423 (patch) | |
tree | 3dfc29bceacc74be456da0661fc612fd40f1027d /java/java_test.go | |
parent | a1063c09f6f47b68d946ff61cef71692b19d48e5 (diff) |
Fix "filename too long" issue on Luci caused by test name
Stop including fields in the test name for TestJavaSdkLibraryEnforce to
reduce its length to avoid the filename too long limit.
Test: m nothing
Check the lengths before (~240) and after (~74) to make sure
there was a sizeable reduction.
Change-Id: I275a1110e5102b8ea8376759f28c7c6333a5efee
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go index 31eeb6b05..1a79f497b 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -831,7 +831,7 @@ func TestJavaSdkLibraryEnforce(t *testing.T) { } runTest := func(t *testing.T, info testConfigInfo, expectedErrorPattern string) { - t.Run(fmt.Sprintf("%#v", info), func(t *testing.T) { + t.Run(fmt.Sprintf("%v", info), func(t *testing.T) { errorHandler := android.FixtureExpectsNoErrors if expectedErrorPattern != "" { errorHandler = android.FixtureExpectsAtLeastOneErrorMatchingPattern(expectedErrorPattern) |