Skip to content

Commit b470f61

Browse files
committed
fix failing specs
1 parent 486687e commit b470f61

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3735,7 +3735,7 @@ Ginkgo also supports generating output in additional formats, however Ginkgo spe
37353735
ginkgo --junit-report=report.xml
37363736
# Teamcity report
37373737
ginkgo --teamcity-report=report.teamcity
3738-
# Go json report (same format as `go test -json`)
3738+
# Go json report (same format as go test -json)
37393739
ginkgo --gojson-report=report.go.json
37403740
```
37413741

integration/profiling_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ var _ = Describe("Profiling Specs", func() {
487487
Ω(fm.ListDir("output")).Should(ConsistOf(
488488
"cover.out",
489489
"report.json",
490+
"report.go.json",
490491
"report.xml",
491492
"report.tm",
492493
"block_contest_cpu.out",
@@ -534,6 +535,9 @@ var _ = Describe("Profiling Specs", func() {
534535
"block_contest_report.json",
535536
"lock_contest_report.json",
536537
"slow_memory_hog_report.json",
538+
"block_contest_report.go.json",
539+
"lock_contest_report.go.json",
540+
"slow_memory_hog_report.go.json",
537541
"block_contest_report.xml",
538542
"lock_contest_report.xml",
539543
"slow_memory_hog_report.xml",

reporters/gojson_report.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ func MergeAndCleanupGoTestJSONReports(sources []string, destination string) ([]s
5555
messages = append(messages, fmt.Sprintf("Could not write to %s:\n%s", destination, err.Error()))
5656
continue
5757
}
58+
os.Remove(source)
5859
}
5960
return messages, nil
6061
}

0 commit comments

Comments
 (0)