forked from go-delve/delve
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#176181251 simplify grpc and worker startup for testing (go-delve#79)
* simplify grpc and worker startup for testing * do not add a tracer if the rpc host is an empty string * restored direct use of pgx * wrong event type used in db setup
- Loading branch information
Neil Clifton
authored
Jan 5, 2021
1 parent
c55bb76
commit 8b1245c
Showing
8 changed files
with
182 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
pushd $DIR &> /dev/null | ||
|
||
export WEBHOOK_RABBIT_EXCHANGE=webhook | ||
export WEBHOOK_RABBIT_EXCHANGE_TYPE=direct | ||
export WEBHOOK_MIGRATION_ROOT="file://../migration/sql" | ||
export INTEGRATION_TEST_FIXTURE_POSTGRES_USER=gnomock | ||
export INTEGRATION_TEST_FIXTURE_POSTGRES_USER_PASSWORD=gnomick | ||
export INTEGRATION_TEST_FIXTURE_RABBITMQ_USER=gnomock | ||
export INTEGRATION_TEST_FIXTURE_RABBITMQ_USER_PASSWORD=gnomick | ||
|
||
go test -timeout 30s -tags integration -run ^Test_.*$ | ||
|
||
popd &> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.