Skip to content

Commit c58cce5

Browse files
committed
add early nosetests monkey_patch
1 parent 1c4a0f9 commit c58cce5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
echo "Setting up custom pack testing environment with tests/setup_testing_env.sh"
3434
source ~/virtualenv/bin/activate
3535
tests/setup_testing_env.sh
36+
set -x
37+
which nosetests
38+
# eventlet monkey_patch as early as possible
39+
sed -i -e '/^import re$/i from st2common.util.monkey_patch import monkey_patch\nmonkey_patch()' $(which nosetests)
40+
head -n5 $(which nosetests)
3641
- run:
3742
name: Run tests (Python 3.6)
3843
# NOTE: We don't want to use default "-e" option because this means

0 commit comments

Comments
 (0)