Skip to content

Commit

Permalink
unit: deparallize some tests
Browse files Browse the repository at this point in the history
Signed-off-by: flouthoc <[email protected]>
  • Loading branch information
flouthoc committed Jan 29, 2025
1 parent 36f2888 commit 8168b96
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion buildah_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func TestMain(m *testing.M) {
}

func TestOpenBuilderCommonBuildOpts(t *testing.T) {
t.Parallel()
ctx := context.TODO()
store, err := storage.GetStore(types.StoreOptions{
RunRoot: t.TempDir(),
Expand Down
1 change: 0 additions & 1 deletion commit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
)

func TestCommitLinkedLayers(t *testing.T) {
t.Parallel()
ctx := context.TODO()
now := time.Now()

Expand Down
1 change: 0 additions & 1 deletion convertcw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func (d *dummyAttestationHandler) ServeHTTP(rw http.ResponseWriter, req *http.Re
}

func TestCWConvertImage(t *testing.T) {
t.Parallel()
ctx := context.TODO()
for _, status := range []int{http.StatusOK, http.StatusInternalServerError} {
for _, ignoreChainRetrievalErrors := range []bool{false, true} {
Expand Down
2 changes: 0 additions & 2 deletions digester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ func (c *CompositeDigester) isOpen() bool {
}

func TestCompositeDigester(t *testing.T) {
t.Parallel()
tests := []struct {
name string
itemTypes []string
Expand Down Expand Up @@ -187,7 +186,6 @@ func TestCompositeDigester(t *testing.T) {
}

func TestTarFilterer(t *testing.T) {
t.Parallel()
tests := []struct {
name string
input, output map[string]string
Expand Down

0 comments on commit 8168b96

Please sign in to comment.