-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: spilt bdd test runs into multi machines
Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
- Loading branch information
Showing
5 changed files
with
120 additions
and
23 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,25 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright SecureKey Technologies Inc. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
set -e | ||
|
||
echo "Running orb integration tests cas typeipfs..." | ||
PWD=`pwd` | ||
|
||
export DATABASE_TYPE=mongodb | ||
export DATABASE_URL=mongodb://localhost:27017 | ||
export ORB_KMS_ENDPOINT=http://localhost:7878 | ||
export CAS_TYPE=ipfs | ||
export COMPOSE_HTTP_TIMEOUT=120 | ||
export PGUSER=postgres | ||
export PGPASSWORD=password | ||
export DOCKER_COMPOSE_FILE=docker-compose.yml | ||
|
||
cd test/bdd | ||
go test -run all -count=1 -v -cover . -p 1 -timeout=30m -race | ||
|
||
cd $PWD | ||
|
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,24 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright SecureKey Technologies Inc. All Rights Reserved. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
set -e | ||
|
||
echo "Running orb integration tests cas type local..." | ||
PWD=`pwd` | ||
|
||
export DATABASE_TYPE=mongodb | ||
export DATABASE_URL=mongodb://localhost:27017 | ||
export ORB_KMS_ENDPOINT=http://localhost:7878 | ||
export CAS_TYPE=local | ||
export COMPOSE_HTTP_TIMEOUT=120 | ||
export PGUSER=postgres | ||
export PGPASSWORD=password | ||
export DOCKER_COMPOSE_FILE=docker-compose.yml | ||
|
||
cd test/bdd | ||
go test -run all,local_cas -count=1 -v -cover . -p 1 -timeout=30m -race | ||
|
||
cd $PWD |
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