mustCreateDB is created in place of `btesting.MustCreateDB`, and it's only supposed to be used by the concurrent test case. The purpose is to ensure the test case can be executed on old branches or versions, e.g. `release-1.3` or `1.3.[5-7]`.
(t *testing.T, o *bolt.Options)
| 216 | // to ensure the test case can be executed on old branches or versions, |
| 217 | // e.g. `release-1.3` or `1.3.[5-7]`. |
| 218 | func mustCreateDB(t *testing.T, o *bolt.Options) *bolt.DB { |
| 219 | f := filepath.Join(t.TempDir(), "db") |
| 220 | |
| 221 | return mustOpenDB(t, f, o) |
| 222 | } |
| 223 | |
| 224 | func mustReOpenDB(t *testing.T, db *bolt.DB, o *bolt.Options) *bolt.DB { |
| 225 | f := db.Path() |
no test coverage detected