-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: switch e2e_basic_start_stop from devnet to private network (#4942
) * Disable TestResolver in CircleCI due to DNS resolution issue * Switch e2e_basic_start_stop from devnet to private network
- Loading branch information
1 parent
676817b
commit 5363ae7
Showing
3 changed files
with
51 additions
and
30 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
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -78,12 +78,15 @@ echo "RUN_KMD_WITH_UNSAFE_SCRYPT = ${RUN_KMD_WITH_UNSAFE_SCRYPT}" | |||
|
||||
export BINDIR=${TEMPDIR}/bin | ||||
export DATADIR=${TEMPDIR}/data | ||||
export NETWORKDIR=${TEMPDIR}/net | ||||
|
||||
function reset_dirs() { | ||||
rm -rf ${BINDIR} | ||||
rm -rf ${DATADIR} | ||||
rm -rf ${NETWORKDIR} | ||||
mkdir -p ${BINDIR} | ||||
mkdir -p ${DATADIR} | ||||
mkdir -p ${NETWORKDIR} | ||||
} | ||||
|
||||
# $1 - Message | ||||
|
@@ -155,9 +158,16 @@ if [ -z "$E2E_TEST_FILTER" ] || [ "$E2E_TEST_FILTER" == "SCRIPTS" ]; then | |||
exit | ||||
fi | ||||
|
||||
./timeout 200 ./e2e_basic_start_stop.sh | ||||
goal network create \ | ||||
-r $NETWORKDIR \ | ||||
-n tbd \ | ||||
-t ../testdata/nettemplates/TwoNodes50EachFuture.json | ||||
|
||||
./timeout 200 ./e2e_basic_start_stop.sh $NETWORKDIR | ||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
michaeldiamant
Author
Contributor
|
xrun(['goal', 'network', 'create', '-r', netdir, '-n', 'tbd', '-t', os.path.join(repodir, f'test/testdata/nettemplates/TwoNodes50Each{capv}.json')], timeout=90) |
net
.
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
should this be $DATADIR?