diff --git a/integration_tests/.dockerignore b/integration_tests/.dockerignore new file mode 100644 index 000000000..8f560bbba --- /dev/null +++ b/integration_tests/.dockerignore @@ -0,0 +1,6 @@ +test-out/ +tmp/ +deployment/ +test-launcher +portal_test.sh +get_started.sh diff --git a/integration_tests/.gitignore b/integration_tests/.gitignore index b3065f338..493509051 100644 --- a/integration_tests/.gitignore +++ b/integration_tests/.gitignore @@ -14,6 +14,7 @@ develop-eggs/ dist/ downloads/ eggs/ +tmp/ .eggs/ lib/ lib64/ @@ -23,6 +24,7 @@ var/ *.egg-info/ .installed.cfg *.egg +test-out/ # PyInstaller # Usually these files are written by a python script from a template @@ -58,7 +60,7 @@ target/ #Ipython Notebook .ipynb_checkpoints -# no vim +# no vim *.swp *.swo *.swn diff --git a/integration_tests/bin/blockstack-test-scenario b/integration_tests/bin/blockstack-test-scenario index 4b7651d22..0134d6b44 100755 --- a/integration_tests/bin/blockstack-test-scenario +++ b/integration_tests/bin/blockstack-test-scenario @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python import os @@ -12,7 +12,7 @@ os.environ['BLOCKSTACK_ATLAS_NETWORK_SIMULATION'] = '1' TEST_FIRST_BLOCK_HEIGHT = 250 # how many blocks we have to generate to start regtest os.environ['BLOCKSTACK_TEST_FIRST_BLOCK'] = str(TEST_FIRST_BLOCK_HEIGHT + 6) -import sys +import sys import subprocess import signal import shutil @@ -27,6 +27,8 @@ import threading import argparse import BaseHTTPServer import cgi +from datetime import datetime +from influxdb import InfluxDBClient blockstack = None blockstackd = None @@ -35,7 +37,7 @@ g_interactive = False import pybitcoin -import virtualchain +import virtualchain log = virtualchain.get_logger("blockstack-test-scenario") from virtualchain.lib.blockchain.bitcoin_blockchain import JSONRPCException @@ -79,7 +81,7 @@ zonefile_storage_drivers = disk profile_storage_drivers = disk data_storage_drivers = disk atlas = True -atlas_seeds = +atlas_seeds = atlas_blacklist = atlas_hostname = localhost """ % TEST_RPC_PORT @@ -182,7 +184,7 @@ class WebTestServerRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): panel += '
' panel += '