Skip to content

Commit 1e0c7f5

Browse files
fix(e2e): use consistent inventory name in quiet init test
The quiet init test was changing the inventory name from inventory-18030002 back to rg-test-case-1a, causing the downstream 'status on symlink' assertion to fail. Signed-off-by: Jaisheesh-2006 <jaicodes2006@gmail.com>
1 parent 0c363ec commit 1e0c7f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

e2e/live/end-to-end-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,8 +764,8 @@ assertContains "name: inventory-18030002"
764764
printResult
765765

766766
echo "Testing init quiet Kptfile/ResourceGroup"
767-
echo "kpt live init --quiet --force --name=rg-test-case-1a e2e/live/testdata/rg-test-case-1a"
768-
${BIN_DIR}/kpt live init --quiet --force --name=rg-test-case-1a e2e/live/testdata/rg-test-case-1a 2>&1 | tee $OUTPUT_DIR/status
767+
echo "kpt live init --quiet --force --name=inventory-18030002 e2e/live/testdata/rg-test-case-1a"
768+
${BIN_DIR}/kpt live init --quiet --force --name=inventory-18030002 e2e/live/testdata/rg-test-case-1a 2>&1 | tee $OUTPUT_DIR/status
769769
assertNotContains "initializing resourcegroup"
770770
printResult
771771

0 commit comments

Comments
 (0)