Skip to content

Commit 0d1a4fc

Browse files
authored
chore(ci): fix dump intvirt resources (#960)
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
1 parent 36136f1 commit 0d1a4fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ func SaveTestResources(labels map[string]string, additional string) {
668668
additional = strings.ReplaceAll(strings.ToLower(additional), " ", "_")
669669
str := fmt.Sprintf("/tmp/e2e_failed__%s__%s.yaml", labels["testcase"], additional)
670670

671-
file, err := os.OpenFile(str, os.O_APPEND|os.O_WRONLY, 0644)
671+
file, err := os.OpenFile(str, os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0644)
672672
Expect(err).NotTo(HaveOccurred())
673673
defer file.Close()
674674

0 commit comments

Comments
 (0)