forked from TrueCloudLab/frostfs-node
[#321] engine/test: Execute tests in parallel
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
4578d00619
commit
945454f60c
5 changed files with 25 additions and 1 deletions
|
@ -31,6 +31,8 @@ func (t tss) IsTombstoneAvailable(ctx context.Context, _ oid.Address, epoch uint
|
|||
}
|
||||
|
||||
func TestLockUserScenario(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// Tested user actions:
|
||||
// 1. stores some object
|
||||
// 2. locks the object
|
||||
|
@ -146,6 +148,8 @@ func TestLockUserScenario(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestLockExpiration(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// Tested scenario:
|
||||
// 1. some object is stored
|
||||
// 2. lock object for it is stored, and the object is locked
|
||||
|
@ -222,6 +226,8 @@ func TestLockExpiration(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestLockForceRemoval(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// Tested scenario:
|
||||
// 1. some object is stored
|
||||
// 2. lock object for it is stored, and the object is locked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue