From 0678095315516a28ae966ab42cf6e2b6bac0babf Mon Sep 17 00:00:00 2001 From: Robert Lin Date: Wed, 14 Aug 2024 16:59:43 -0700 Subject: [PATCH] update enterprise-portal-e2e --- cmd/enterprise-portal/e2e/README.md | 2 +- sg.config.yaml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/enterprise-portal/e2e/README.md b/cmd/enterprise-portal/e2e/README.md index 43a6dff6713a3..347eed36f190d 100644 --- a/cmd/enterprise-portal/e2e/README.md +++ b/cmd/enterprise-portal/e2e/README.md @@ -3,6 +3,6 @@ This are curreently manually run only, and intended for use in development to sanity-check the end-to-end implementation of Enterprise Portal RPCs. ```sh -sg start dotcom +sg start -cmd enterprise-portal sg test enterprise-portal-e2e ``` diff --git a/sg.config.yaml b/sg.config.yaml index d31bcd7f72008..b164d258b3026 100644 --- a/sg.config.yaml +++ b/sg.config.yaml @@ -2184,11 +2184,9 @@ tests: cmd: pnpm test-integration:debug enterprise-portal-e2e: - # After EP stops requiring dotcomdb, we can update this to just require - # `sg start -cmd enterprise-portal` preamble: An Enterprise Portal instance must be already running for these tests to - work, most commonly with `sg start dotcom`. + work, most commonly with `sg start -cmd enterprise-portal`. This will leave a lot of data behind in your local database - you can delete everything using `psql -d sourcegraph -c TRUNCATE TABLE enterprise_portal_subscriptions CASCADE;`.