Merge pull request #1085 from jaten-molecula/uniq_dbnames

unique db names so parallel test runs don't collide
This commit is contained in:
tgruben 2020-11-11 14:26:04 -06:00 • committed by GitHub
commit b3d2704066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -468,7 +468,7 @@ func TestBolt_ContainerIterator_on_one_bit(t *testing.T) {
}
func TestBolt_ContainerIterator_on_one_bit_fail_to_find(t *testing.T) {
dbwrap, clean := mustOpenEmptyBoltWrapper("TestBolt_ContainerIterator_on_one_bit")
dbwrap, clean := mustOpenEmptyBoltWrapper("TestBolt_ContainerIterator_on_one_bit_fail_to_find")
defer clean()
defer dbwrap.Close()
index, field, view, shard := "i", "f", "v", uint64(0)
@ -573,7 +573,7 @@ func TestBolt_ContainerIterator_empty_iteration_loop(t *testing.T) {
func TestBolt_ForEach_on_one_bit(t *testing.T) {
dbwrap, clean := mustOpenEmptyBoltWrapper("TestBolt_ContainerIterator_on_one_bit")
dbwrap, clean := mustOpenEmptyBoltWrapper("TestBolt_ForEach_on_one_bit")
defer clean()
defer dbwrap.Close()
index, field, view, shard := "i", "f", "v", uint64(0)

View file

@ -470,7 +470,7 @@ func TestLMDB_ContainerIterator_on_one_bit(t *testing.T) {
}
func TestLMDB_ContainerIterator_on_one_bit_fail_to_find(t *testing.T) {
dbwrap, clean := mustOpenEmptyLMDBWrapper("TestLMDB_ContainerIterator_on_one_bit")
dbwrap, clean := mustOpenEmptyLMDBWrapper("TestLMDB_ContainerIterator_on_one_bit_fail_to_find")
defer clean()
defer dbwrap.Close()
index, field, view, shard := "i", "f", "v", uint64(0)
@ -575,7 +575,7 @@ func TestLMDB_ContainerIterator_empty_iteration_loop(t *testing.T) {
func TestLMDB_ForEach_on_one_bit(t *testing.T) {
dbwrap, clean := mustOpenEmptyLMDBWrapper("TestLMDB_ContainerIterator_on_one_bit")
dbwrap, clean := mustOpenEmptyLMDBWrapper("TestLMDB_ForEach_on_one_bit")
defer clean()
defer dbwrap.Close()
index, field, view, shard := "i", "f", "v", uint64(0)