mirror of https://github.com/rclone/rclone
bisync: fix TestBisyncConcurrent ignoring -case
Before this change, TestBisyncConcurrent would still run the "basic" test case if a non-blank -case arg was used to specify a case other than "basic". This change fixes it by skipping in this scenario.
This commit is contained in:
parent
58aee30de7
commit
3369a15285
|
|
@ -285,6 +285,9 @@ func TestBisyncConcurrent(t *testing.T) {
|
|||
if !isLocal(*fstest.RemoteName) {
|
||||
t.Skip("TestBisyncConcurrent is skipped on non-local")
|
||||
}
|
||||
if *argTestCase != "" && *argTestCase != "basic" {
|
||||
t.Skip("TestBisyncConcurrent only tests 'basic'")
|
||||
}
|
||||
if *argPCount < 2 {
|
||||
t.Skip("TestBisyncConcurrent is pointless with -pcount < 2")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue