Skip to content

Commit

Permalink
enabled basic doi test with 50 requests and block generatation
Browse files Browse the repository at this point in the history
  • Loading branch information
silkroadnomad committed Nov 13, 2018
1 parent d9a2ead commit f9ba44e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions test/3-basic-doi-test.3.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ describe('basic-doi-test-03', function () {
done();
});

xit('should test if basic Doichain workflow running 1000 times without confirmation and verification', function (done) {
it('should test if basic Doichain workflow running 1000 times without confirmation and verification', function (done) {
this.timeout(0);

deleteAllEmailsFromPop3("mail", 110, recipient_pop3username, recipient_pop3password,true);
const dataLoginAlice = login(dappUrlAlice,dAppLogin,false); //log into dApp
global.aliceAddress = getNewAddress(node_url_alice, rpcAuthAlice, false);
for(let i=0;i<20;i++){
Expand All @@ -51,9 +51,9 @@ describe('basic-doi-test-03', function () {
done();
});

xit('should test if basic Doichain workflow running 50 times with without confirmation and verification', function (done) {
it('should test if basic Doichain workflow running 50 times with without confirmation and verification', function (done) {
this.timeout(0);

deleteAllEmailsFromPop3("mail", 110, recipient_pop3username, recipient_pop3password,true);
const dataLoginAlice = login(dappUrlAlice,dAppLogin,false); //log into dApp
global.aliceAddress = getNewAddress(node_url_alice, rpcAuthAlice, false);
for(let i=0;i<100;i++){
Expand Down
1 change: 0 additions & 1 deletion test/test-api/test-api-on-dapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ export function verifyDOI(dAppUrl, dAppUrlAuth, node_url_alice, rpcAuthAlice, se
return syncFunc(dAppUrl, dAppUrlAuth, node_url_alice, rpcAuthAlice, sender_mail, recipient_mail,nameId, log );
}


function verify_doi(dAppUrl, dAppUrlAuth, node_url_alice, rpcAuthAlice, sender_mail, recipient_mail,nameId, log, callback){

const urlVerify = dAppUrl+'/api/v1/opt-in/verify';
Expand Down

0 comments on commit f9ba44e

Please sign in to comment.