(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestBucketManager_DataStructureIsolation(t *testing.T) { |
| 74 | const bucket1 = "bucket_1" |
| 75 | runNutsDBTest(t, nil, func(t *testing.T, db *DB) { |
| 76 | txCreateBucket(t, db, DataStructureBTree, bucket1, nil) |
| 77 | |
| 78 | assert.Equal(t, false, db.bucketMgr.ExistBucket(DataStructureList, bucket1)) |
| 79 | assert.Equal(t, false, db.bucketMgr.ExistBucket(DataStructureSortedSet, bucket1)) |
| 80 | assert.Equal(t, false, db.bucketMgr.ExistBucket(DataStructureSet, bucket1)) |
| 81 | }) |
| 82 | } |
| 83 | |
| 84 | func TestBucketManager_DeleteBucketIsolation(t *testing.T) { |
| 85 | runNutsDBTest(t, nil, func(t *testing.T, db *DB) { |
nothing calls this directly
no test coverage detected