You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is an extraction of a freezing test. When you run the following, Hello!!! gets printed, but Bye!!! does not because Expect(d.Db).To(BeNil()) freezes for no apparent reason. Go bug?
$ ginkgo
Running Suite: foo
==================
Random Seed: 1400479221
Will run 1 of 1 specs
Hello!!!
• Failure [0.009 seconds]
Foo
/home/action/workspace/test/foo_test.go:53
NewSqliteDatabase()
/home/action/workspace/test/foo_test.go:46
opens a sqlite3 database and returns *Database [It]
/home/action/workspace/test/foo_test.go:45
Expected
<*sql.DB | 0xc210070c80>: { ... }
to be nil
/home/action/workspace/test/foo_test.go:43
------------------------------
Ran 1 of 1 Specs in 0.018 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 0 Skipped --- FAIL: TestFoo (0.02 seconds)
FAIL
Ginkgo ran in 1.448502789s
Test Suite Failed
Actual Behavior:
$ ginkgo
test: ginkgo
Running Suite: foo
==================
Random Seed: 1400479000
Will run 1 of 1 specs
Hello!!!
^C
Ran 1 of 1 Specs in 29.979 seconds
FAIL! -- 0 Passed | 0 Failed | 0 Pending | 0 Skipped
Ginkgo ran in 31.682427676s
$ go version
go version go1.2.2 linux/amd64
$ ginkgo version
Ginkgo Version 1.0.0-beta
The text was updated successfully, but these errors were encountered:
It looks like *sql.DB has a deeply nested recursive structure. I've changed the maximum nesting-level that Gomega's formatter will traversed to 10 (it used to be 20 which is crazy high).
This will prevent your test from hanging but will dump a ton of output to screen. I'm going to make the output configurable as part of #37 so you'll be able to control just how much output you get pretty soon.
This was originally over at onsi/ginkgo#71
The following is an extraction of a freezing test. When you run the following,
Hello!!!
gets printed, butBye!!!
does not becauseExpect(d.Db).To(BeNil())
freezes for no apparent reason. Go bug?Expected Behavior:
Actual Behavior:
The text was updated successfully, but these errors were encountered: