mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
Add a prefix option to e2e for use with resources
This is helpful when cleaning manually up after a failed test in shared a gce environment. Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
This commit is contained in:
@@ -189,7 +189,7 @@ var _ = Describe("Pod Disks", func() {
|
||||
|
||||
func createPD() (string, error) {
|
||||
if testContext.Provider == "gce" {
|
||||
pdName := fmt.Sprintf("e2e-%s", string(util.NewUUID()))
|
||||
pdName := fmt.Sprintf("%s-%s", testContext.prefix, string(util.NewUUID()))
|
||||
|
||||
zone := testContext.CloudConfig.Zone
|
||||
// TODO: make this hit the compute API directly instread of shelling out to gcloud.
|
||||
|
Reference in New Issue
Block a user