Skip to content

Commit bbc9ccc

Browse files
committed
fix(testing): remove codspeed folder used for integration tests
1 parent a896883 commit bbc9ccc

12 files changed

Lines changed: 186 additions & 173 deletions

go-runner/src/builder/snapshots/codspeed_go_runner__builder__discovery__tests__discover_benchmarks@example.snap

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,11 @@ expression: packages
153153
"raw_package": "[raw_package]",
154154
"benchmarks": [
155155
{
156-
"name": "BenchmarkAdd",
156+
"name": "BenchmarkExternalFib",
157157
"module_path": "example/external",
158-
"import_alias": "benchmarkadd_8141020470883116639",
159-
"qualified_name": "benchmarkadd_8141020470883116639.BenchmarkAdd",
160-
"file_path": "external/math_test.go",
161-
"is_external": true
162-
},
163-
{
164-
"name": "BenchmarkMultiply",
165-
"module_path": "example/external",
166-
"import_alias": "benchmarkmultiply_8141020470883116639",
167-
"qualified_name": "benchmarkmultiply_8141020470883116639.BenchmarkMultiply",
168-
"file_path": "external/math_test.go",
158+
"import_alias": "benchmarkexternalfib_8141020470883116639",
159+
"qualified_name": "benchmarkexternalfib_8141020470883116639.BenchmarkExternalFib",
160+
"file_path": "external/external_test.go",
169161
"is_external": true
170162
}
171163
]

go-runner/src/snapshots/codspeed_go_runner__integration_tests__assert_results_snapshots@example-with-test-package.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ expression: results
1515
"benchmarks": [
1616
{
1717
"name": "BenchmarkAdd",
18-
"uri": "go-runner/testdata/projects/example-with-test-package/codspeed/math_test.go::BenchmarkAdd",
18+
"uri": "go-runner/testdata/projects/example-with-test-package/math_test.go::BenchmarkAdd",
1919
"config": {
2020
"warmup_time_ns": null,
2121
"min_round_time_ns": null,
@@ -26,7 +26,7 @@ expression: results
2626
},
2727
{
2828
"name": "BenchmarkMultiply",
29-
"uri": "go-runner/testdata/projects/example-with-test-package/codspeed/math_test.go::BenchmarkMultiply",
29+
"uri": "go-runner/testdata/projects/example-with-test-package/math_test.go::BenchmarkMultiply",
3030
"config": {
3131
"warmup_time_ns": null,
3232
"min_round_time_ns": null,
@@ -106,7 +106,7 @@ expression: results
106106
"benchmarks": [
107107
{
108108
"name": "BenchmarkFibonacci20",
109-
"uri": "go-runner/testdata/projects/example-with-test-package/fib_external/codspeed/fib_integration_test.go::BenchmarkFibonacci20",
109+
"uri": "go-runner/testdata/projects/example-with-test-package/fib_external/fib_integration_test.go::BenchmarkFibonacci20",
110110
"config": {
111111
"warmup_time_ns": null,
112112
"min_round_time_ns": null,

go-runner/src/snapshots/codspeed_go_runner__integration_tests__assert_results_snapshots@example.snap

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,6 @@ source: go-runner/src/integration_tests.rs
33
expression: results
44
---
55
[
6-
{
7-
"creator": {
8-
"name": "codspeed-go",
9-
"version": "[version]",
10-
"pid": "[pid]"
11-
},
12-
"instrument": {
13-
"type": "walltime"
14-
},
15-
"benchmarks": [
16-
{
17-
"name": "BenchmarkAdd",
18-
"uri": "example/external/codspeed/math_test.go::BenchmarkAdd",
19-
"config": {
20-
"warmup_time_ns": null,
21-
"min_round_time_ns": null,
22-
"max_time_ns": null,
23-
"max_rounds": null
24-
},
25-
"stats": "[stats]"
26-
},
27-
{
28-
"name": "BenchmarkMultiply",
29-
"uri": "example/external/codspeed/math_test.go::BenchmarkMultiply",
30-
"config": {
31-
"warmup_time_ns": null,
32-
"min_round_time_ns": null,
33-
"max_time_ns": null,
34-
"max_rounds": null
35-
},
36-
"stats": "[stats]"
37-
}
38-
]
39-
},
406
{
417
"creator": {
428
"name": "codspeed-go",
@@ -138,6 +104,29 @@ expression: results
138104
}
139105
]
140106
},
107+
{
108+
"creator": {
109+
"name": "codspeed-go",
110+
"version": "[version]",
111+
"pid": "[pid]"
112+
},
113+
"instrument": {
114+
"type": "walltime"
115+
},
116+
"benchmarks": [
117+
{
118+
"name": "BenchmarkExternalFib",
119+
"uri": "example/external/external_test.go::BenchmarkExternalFib",
120+
"config": {
121+
"warmup_time_ns": null,
122+
"min_round_time_ns": null,
123+
"max_time_ns": null,
124+
"max_rounds": null
125+
},
126+
"stats": "[stats]"
127+
}
128+
]
129+
},
141130
{
142131
"creator": {
143132
"name": "codspeed-go",

0 commit comments

Comments
 (0)