Omit Parallel execution of test case

This commit is contained in:
Masaaki Goshima 2020-12-24 20:38:42 +09:00
parent d08d476915
commit d3afb57900
3 changed files with 2 additions and 4 deletions

View File

@ -20,8 +20,6 @@ jobs:
- name: Test
run: go test -v ./ -count=1
env:
GOGC: off
- name: Test with GC
run: go test -v ./ -count=1

View File

@ -948,7 +948,7 @@ var badFloatREs = []*regexp.Regexp{
}
func TestMarshalFloat(t *testing.T) {
t.Parallel()
//t.Parallel()
nfail := 0
test := func(f float64, bits int) {
vf := interface{}(f)

View File

@ -136,7 +136,7 @@ func TestCompactBig(t *testing.T) {
}
func TestIndentBig(t *testing.T) {
t.Parallel()
//t.Parallel()
initBig()
var buf bytes.Buffer
if err := json.Indent(&buf, jsonBig, "", "\t"); err != nil {