forked from TrueCloudLab/frostfs-node
[#904] tests: Close test engine after test
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
57171907e3
commit
63d3ed1ad8
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ func TestBlobstorFailback(t *testing.T) {
|
||||||
|
|
||||||
checkShardState(t, te.ng, te.shards[0].id, 0, mode.ReadWrite)
|
checkShardState(t, te.ng, te.shards[0].id, 0, mode.ReadWrite)
|
||||||
checkShardState(t, te.ng, te.shards[1].id, 0, mode.ReadWrite)
|
checkShardState(t, te.ng, te.shards[1].id, 0, mode.ReadWrite)
|
||||||
|
require.NoError(t, te.ng.Close(context.Background()))
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkShardState(t *testing.T, e *StorageEngine, id *shard.ID, errCount uint32, mode mode.Mode) {
|
func checkShardState(t *testing.T, e *StorageEngine, id *shard.ID, errCount uint32, mode mode.Mode) {
|
||||||
|
|
Loading…
Reference in a new issue