forked from TrueCloudLab/frostfs-node
[#321] metabase/test: execute tests in parallel
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
c8c5f14e2e
commit
c62025c836
7 changed files with 65 additions and 22 deletions
|
@ -15,6 +15,8 @@ import (
|
|||
)
|
||||
|
||||
func TestDB_Containers(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
db := newDB(t)
|
||||
|
||||
const N = 10
|
||||
|
@ -90,6 +92,8 @@ func TestDB_Containers(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDB_ContainersCount(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
db := newDB(t)
|
||||
|
||||
const R, T, SG, L = 10, 11, 12, 13 // amount of object per type
|
||||
|
@ -133,6 +137,8 @@ func TestDB_ContainersCount(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDB_ContainerSize(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
db := newDB(t)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue