diff options
author | 2020-10-10 01:30:30 +0000 | |
---|---|---|
committer | 2020-10-09 18:34:24 -0700 | |
commit | 405af0785923a6e5042f9f69f41ebc46c713537a (patch) | |
tree | 712819e0893abab5f99dde3e910f65fe7ce0ccc6 /android/namespace_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/namespace_test.go')
-rw-r--r-- | android/namespace_test.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/android/namespace_test.go b/android/namespace_test.go index 5cce3e434..66c0d895a 100644 --- a/android/namespace_test.go +++ b/android/namespace_test.go @@ -24,7 +24,6 @@ import ( ) func TestDependingOnModuleInSameNamespace(t *testing.T) { - t.Parallel() ctx := setupTest(t, map[string]string{ "dir1": ` @@ -49,7 +48,6 @@ func TestDependingOnModuleInSameNamespace(t *testing.T) { } func TestDependingOnModuleInRootNamespace(t *testing.T) { - t.Parallel() ctx := setupTest(t, map[string]string{ ".": ` @@ -72,7 +70,6 @@ func TestDependingOnModuleInRootNamespace(t *testing.T) { } func TestImplicitlyImportRootNamespace(t *testing.T) { - t.Parallel() _ = setupTest(t, map[string]string{ ".": ` @@ -95,7 +92,6 @@ func TestImplicitlyImportRootNamespace(t *testing.T) { } func TestDependingOnBlueprintModuleInRootNamespace(t *testing.T) { - t.Parallel() _ = setupTest(t, map[string]string{ ".": ` @@ -118,7 +114,6 @@ func TestDependingOnBlueprintModuleInRootNamespace(t *testing.T) { } func TestDependingOnModuleInImportedNamespace(t *testing.T) { - t.Parallel() ctx := setupTest(t, map[string]string{ "dir1": ` @@ -148,7 +143,6 @@ func TestDependingOnModuleInImportedNamespace(t *testing.T) { } func TestDependingOnModuleInNonImportedNamespace(t *testing.T) { - t.Parallel() _, errs := setupTestExpectErrs( map[string]string{ "dir1": ` @@ -189,7 +183,6 @@ Module "a" can be found in these namespaces: ["dir1" "dir2"]`), } func TestDependingOnModuleByFullyQualifiedReference(t *testing.T) { - t.Parallel() ctx := setupTest(t, map[string]string{ "dir1": ` @@ -217,7 +210,6 @@ func TestDependingOnModuleByFullyQualifiedReference(t *testing.T) { } func TestSameNameInTwoNamespaces(t *testing.T) { - t.Parallel() ctx := setupTest(t, map[string]string{ "dir1": ` @@ -268,7 +260,6 @@ func TestSameNameInTwoNamespaces(t *testing.T) { } func TestSearchOrder(t *testing.T) { - t.Parallel() ctx := setupTest(t, map[string]string{ "dir1": ` @@ -357,7 +348,6 @@ func TestSearchOrder(t *testing.T) { } func TestTwoNamespacesCanImportEachOther(t *testing.T) { - t.Parallel() _ = setupTest(t, map[string]string{ "dir1": ` @@ -388,7 +378,6 @@ func TestTwoNamespacesCanImportEachOther(t *testing.T) { } func TestImportingNonexistentNamespace(t *testing.T) { - t.Parallel() _, errs := setupTestExpectErrs( map[string]string{ "dir1": ` @@ -413,7 +402,6 @@ func TestImportingNonexistentNamespace(t *testing.T) { } func TestNamespacesDontInheritParentNamespaces(t *testing.T) { - t.Parallel() _, errs := setupTestExpectErrs( map[string]string{ "dir1": ` @@ -445,7 +433,6 @@ Module "a" can be found in these namespaces: ["dir1"]`), } func TestModulesDoReceiveParentNamespace(t *testing.T) { - t.Parallel() _ = setupTest(t, map[string]string{ "dir1": ` @@ -468,7 +455,6 @@ func TestModulesDoReceiveParentNamespace(t *testing.T) { } func TestNamespaceImportsNotTransitive(t *testing.T) { - t.Parallel() _, errs := setupTestExpectErrs( map[string]string{ "dir1": ` @@ -510,7 +496,6 @@ Module "a" can be found in these namespaces: ["dir1"]`), } func TestTwoNamepacesInSameDir(t *testing.T) { - t.Parallel() _, errs := setupTestExpectErrs( map[string]string{ "dir1": ` @@ -531,7 +516,6 @@ func TestTwoNamepacesInSameDir(t *testing.T) { } func TestNamespaceNotAtTopOfFile(t *testing.T) { - t.Parallel() _, errs := setupTestExpectErrs( map[string]string{ "dir1": ` @@ -553,7 +537,6 @@ func TestNamespaceNotAtTopOfFile(t *testing.T) { } func TestTwoModulesWithSameNameInSameNamespace(t *testing.T) { - t.Parallel() _, errs := setupTestExpectErrs( map[string]string{ "dir1": ` @@ -579,7 +562,6 @@ func TestTwoModulesWithSameNameInSameNamespace(t *testing.T) { } func TestDeclaringNamespaceInNonAndroidBpFile(t *testing.T) { - t.Parallel() _, errs := setupTestFromFiles( map[string][]byte{ "Android.bp": []byte(` @@ -603,7 +585,6 @@ func TestDeclaringNamespaceInNonAndroidBpFile(t *testing.T) { // so that the generated .ninja file will have consistent names func TestConsistentNamespaceNames(t *testing.T) { - t.Parallel() ctx := setupTest(t, map[string]string{ "dir1": "soong_namespace{}", @@ -623,7 +604,6 @@ func TestConsistentNamespaceNames(t *testing.T) { // so that the generated .ninja file will have consistent names func TestRename(t *testing.T) { - t.Parallel() _ = setupTest(t, map[string]string{ "dir1": ` |