mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-04-23 01:00:35 +00:00
1. Fix context issues produced by previous PR, increase timeout or add case scpoed global timeout param to make backup/restore command timeout configurable. 2. Add global param for storage class name using by test cases; 3. Fix param DefaultVolumesToFsBackup usage issue: set DefaultVolumesToFsBackup to false in backup CLI in case it was set to true in install CLI. 4. Make namespace names of each namespace mapping test unique from being interfered by each other. Signed-off-by: danfengl <danfengl@vmware.com>
27 lines
847 B
Go
27 lines
847 B
Go
/*
|
|
Copyright the Velero contributors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package scale
|
|
|
|
import (
|
|
"time"
|
|
|
|
basic "github.com/vmware-tanzu/velero/test/e2e/basic/resources-check"
|
|
. "github.com/vmware-tanzu/velero/test/e2e/test"
|
|
)
|
|
|
|
var MultiNSBackupRestore func() = TestFunc(&basic.MultiNSBackup{IsScalTest: true, TestCase: TestCase{Timeout: time.Hour}})
|