Skip to content

Commit

Permalink
Gosched in commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nikandfor committed Jan 7, 2024
1 parent 906e607 commit 228a862
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions batch4_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ func TestCoordinatorAllCases(tb *testing.T) {
panic("commit PaNiC")
}

runtime.Gosched()

tb.Logf("commit %v", sum)
return sum, nil
},
Expand Down
2 changes: 2 additions & 0 deletions multi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ func TestMulti(tb *testing.T) {
panic("commit PaNiC")
}

runtime.Gosched()

tb.Logf("coach %2d commit %2d", coach, sum[coach])
return sum[coach], nil
})
Expand Down

0 comments on commit 228a862

Please sign in to comment.