From 6dfd5012dc74071bd0ff8bca0639cf2b9d52a0b7 Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 31 Oct 2022 14:24:00 -0700 Subject: [PATCH] chore(e2e): add vscode debug configurations (#3180) (cherry picked from commit 5c9bc1b5cbdbbde5982fc6b37904a2a6c6352906) --- .vscode/launch.json | 30 ++++++++++++++++++++++++++++++ .vscode/tasks.json | 12 ++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000000..9f235a7f43a --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,30 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "E2E: (make test-e2e-short)", + "type": "go", + "request": "launch", + "mode": "test", + "program": "${workspaceFolder}/tests/e2e", + "args": [ + "-test.timeout", + "30m", + "-test.run", + "IntegrationTestSuite", + "-test.v" + ], + "buildFlags": "-tags e2e", + "env": { + "OSMOSIS_E2E": "True", + "OSMOSIS_E2E_SKIP_IBC": "true", + "OSMOSIS_E2E_SKIP_UPGRADE": "true", + "OSMOSIS_E2E_SKIP_CLEANUP": "true", + "OSMOSIS_E2E_SKIP_STATE_SYNC": "true", + "OSMOSIS_E2E_UPGRADE_VERSION": "v13", + "OSMOSIS_E2E_DEBUG_LOG": "true", + }, + "preLaunchTask": "e2e-setup" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000000..ab56522001c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,12 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "e2e-setup", + "type": "shell", + "command": "make e2e-setup" + } + ] +} \ No newline at end of file