diff options
author | 2020-10-10 01:30:30 +0000 | |
---|---|---|
committer | 2020-10-09 18:34:24 -0700 | |
commit | 405af0785923a6e5042f9f69f41ebc46c713537a (patch) | |
tree | 712819e0893abab5f99dde3e910f65fe7ce0ccc6 /android/util_test.go | |
parent | 6682ef42a497e5fdf48d0ade03efd23dbf8379dd (diff) |
Revert "Make lots of tests run in parallel"
This reverts commit 323dc60712491c71ccdc5363c42df61f0a192487.
Reason for revert: Possible cause of test instability
Bug: 170513220
Test: soong tests
Change-Id: Iee168e9fbb4210569e6cffcc23e60d111403abb8
Diffstat (limited to 'android/util_test.go')
-rw-r--r-- | android/util_test.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/android/util_test.go b/android/util_test.go index 8c421577e..25b52ca03 100644 --- a/android/util_test.go +++ b/android/util_test.go @@ -60,7 +60,6 @@ var firstUniqueStringsTestCases = []struct { } func TestFirstUniqueStrings(t *testing.T) { - t.Parallel() f := func(t *testing.T, imp func([]string) []string, in, want []string) { t.Helper() out := imp(in) @@ -121,7 +120,6 @@ var lastUniqueStringsTestCases = []struct { } func TestLastUniqueStrings(t *testing.T) { - t.Parallel() for _, testCase := range lastUniqueStringsTestCases { out := LastUniqueStrings(testCase.in) if !reflect.DeepEqual(out, testCase.out) { @@ -134,7 +132,6 @@ func TestLastUniqueStrings(t *testing.T) { } func TestJoinWithPrefix(t *testing.T) { - t.Parallel() testcases := []struct { name string input []string @@ -174,7 +171,6 @@ func TestJoinWithPrefix(t *testing.T) { } func TestIndexList(t *testing.T) { - t.Parallel() input := []string{"a", "b", "c"} testcases := []struct { @@ -214,7 +210,6 @@ func TestIndexList(t *testing.T) { } func TestInList(t *testing.T) { - t.Parallel() input := []string{"a"} testcases := []struct { @@ -246,7 +241,6 @@ func TestInList(t *testing.T) { } func TestPrefixInList(t *testing.T) { - t.Parallel() prefixes := []string{"a", "b"} testcases := []struct { @@ -282,7 +276,6 @@ func TestPrefixInList(t *testing.T) { } func TestFilterList(t *testing.T) { - t.Parallel() input := []string{"a", "b", "c", "c", "b", "d", "a"} filter := []string{"a", "c"} remainder, filtered := FilterList(input, filter) @@ -307,7 +300,6 @@ func TestFilterList(t *testing.T) { } func TestRemoveListFromList(t *testing.T) { - t.Parallel() input := []string{"a", "b", "c", "d", "a", "c", "d"} filter := []string{"a", "c"} expected := []string{"b", "d", "d"} @@ -322,7 +314,6 @@ func TestRemoveListFromList(t *testing.T) { } func TestRemoveFromList(t *testing.T) { - t.Parallel() testcases := []struct { name string key string @@ -426,7 +417,6 @@ func ExampleCopyOf_append() { } func TestSplitFileExt(t *testing.T) { - t.Parallel() t.Run("soname with version", func(t *testing.T) { root, suffix, ext := SplitFileExt("libtest.so.1.0.30") expected := "libtest" @@ -492,7 +482,6 @@ func TestSplitFileExt(t *testing.T) { } func Test_Shard(t *testing.T) { - t.Parallel() type args struct { strings []string shardSize int |