Skip to content

Commit

Permalink
add vscode example
Browse files Browse the repository at this point in the history
  • Loading branch information
matmerr committed Sep 27, 2024
1 parent 318ee7c commit 7faa276
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,20 @@ For reference, see the `test-all` recipe in the root [Makefile](../../Makefile).

For sample test, please check out:
[the Retina E2E.](./scenarios/retina/drop/scenario.go)


Check failure on line 21 in test/e2e/README.md

View workflow job for this annotation

GitHub Actions / markdownlint

Multiple consecutive blank lines [Expected: 1; Actual: 2]

test/e2e/README.md:21 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
## Sample VSCode `settings.json` for running with existing cluster

```json
"go.testFlags": [
"-v",
"-timeout=40m",
"-tags=e2e",
"-args",
"-create-infra=false",
"-delete-infra=false",
"-image-namespace=retistrynamespace",
"-image-registry=yourregistry",
"-image-tag=yourtesttag",
],
```
1 change: 1 addition & 0 deletions test/e2e/framework/kubernetes/get-logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ func PrintPodLogs(ctx context.Context, clientset *kubernetes.Clientset, namespac

// Print the logs
log.Println(string(buf))
fmt.Printf("#######################################################\n")
}
}

0 comments on commit 7faa276

Please sign in to comment.