Unverified Commit b4546843 authored by svetaro's avatar svetaro

SKALE-2003 Change docker test

parent b62cce03
......@@ -33,6 +33,11 @@ assert subprocess.call(["docker", "run", "-v", topDir + "/sgx_data:/usr/src/sdk/
time.sleep(5);
obj = subprocess.Popen(stdin=PIPE)
obj.communicate(input="i confirm", timeout=1)
obj.terminate()
obj.wait()
assert os.path.isdir(topDir + '/sgx_data/sgxwallet.db')
assert os.path.isdir(topDir + '/sgx_data/cert_data');
assert os.path.isdir(topDir + '/sgx_data/CSR_DB');
......
......@@ -1347,7 +1347,7 @@ TEST_CASE("bls_sign_api test", "[bls_sign]") {
StubClient c(client, JSONRPC_CLIENT_V2);
cerr << "Client inited" << endl;
string hash = "09c6137b97cdf159b9950f1492ee059d1e2b10eaf7d51f3a97d61f2eee2e81db";
string blsName = "BLS_KEY:SCHAIN_ID:1031067889:NODE_ID:0:DKG_ID:1112462780";
string blsName = "BLS_KEY:SCHAIN_ID:323669558:NODE_ID:1:DKG_ID:338183455";
int n = 4, t = 4;
Json::Value pubBLSKey = c.getBLSPublicKeyShare(blsName);
......@@ -1368,3 +1368,5 @@ TEST_CASE("bls_sign_api test", "[bls_sign]") {
// REQUIRE( pubKey.VerifySigWithHelper(hash_arr, make_shared<BLSSigShare>(sig) , t, n));
}
//BLS_KEY:SCHAIN_ID:323669558:NODE_ID:1:DKG_ID:338183455
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment