forked from TrueCloudLab/frostfs-node
[#321] shard/test: Execute tests in parallel
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
d35e4c389f
commit
4578d00619
12 changed files with 37 additions and 0 deletions
|
@ -43,6 +43,8 @@ type objAddr struct {
|
|||
}
|
||||
|
||||
func TestShardOpen(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
dir := t.TempDir()
|
||||
metaPath := filepath.Join(dir, "meta")
|
||||
|
||||
|
@ -111,6 +113,8 @@ func TestShardOpen(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestRefillMetabaseCorrupted(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
dir := t.TempDir()
|
||||
|
||||
fsTree := fstree.New(
|
||||
|
@ -164,6 +168,8 @@ func TestRefillMetabaseCorrupted(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestRefillMetabase(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
p := t.Name()
|
||||
|
||||
defer os.RemoveAll(p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue