Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmarks fails #81

Open
zyga opened this issue Jul 6, 2016 · 1 comment
Open

Benchmarks fails #81

zyga opened this issue Jul 6, 2016 · 1 comment

Comments

@zyga
Copy link

zyga commented Jul 6, 2016

Hey Gustavo

I'm reporting a bug about some of the benchmark tests failing so that I can reference it in SUSE and Fedora packaging.

[   25s] ----------------------------------------------------------------------
[   25s] FAIL: benchmark_test.go:18: BenchmarkS.TestBasicTestTiming
[   25s] 
[   25s] benchmark_test.go:26:
[   25s]     c.Assert(output.value, Matches, expected)
[   25s] ... value string = "" +
[   25s] ...     "PASS: check_test.go:136: FixtureHelper.Test1\t0.002s\n" +
[   25s] ...     "PASS: check_test.go:140: FixtureHelper.Test2\t0.000s\n"
[   25s] ... regex string = "" +
[   25s] ...     "PASS: check_test\\.go:[0-9]+: FixtureHelper\\.Test1\t0\\.001s\n" +
[   25s] ...     "PASS: check_test\\.go:[0-9]+: FixtureHelper\\.Test2\t0\\.000s\n"
[   25s] 
[   25s] 
[   25s] ----------------------------------------------------------------------
[   25s] FAIL: benchmark_test.go:39: BenchmarkS.TestBenchmark
[   25s] 
[   25s] benchmark_test.go:59:
[   25s]     c.Assert(output.value, Matches, expected)
[   25s] ... value string = "PASS: check_test.go:144: FixtureHelper.Benchmark1\t      50\t    208950 ns/op\n"
[   25s] ... regex string = "PASS: check_test\\.go:[0-9]+: FixtureHelper\\.Benchmark1\t *100\t *[12][0-9]{5} ns/op\n"
[   25s] 
[   25s] OOPS: 135 passed, 2 FAILED
[   25s] --- FAIL: Test (0.19s)
[   25s] FAIL
[   25s] FAIL   gopkg.in/check.v1   0.197s
[   25s] error: Bad exit status from /var/tmp/rpm-tmp.jhzrJl (%check)
@zyga zyga changed the title BenchmarkS fails Benchmarks fails Jul 22, 2016
@unclejack
Copy link
Contributor

This has been fixed by #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants