Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Cleanup tests to use "devnet" configuration files to run all tests - Closes #2156 #2181

Merged
merged 12 commits into from
Jul 3, 2018

Conversation

nazarhussain
Copy link
Contributor

What was the problem?

There were redundant configuration file, to be only used in running the tests.

How did I fix it?

Removed the redundant file and used the devnet configuration files.

How to test it?

Run all tests.

Review checklist

@nazarhussain nazarhussain added this to the Version 1.1.0 milestone Jun 28, 2018
@MaciejBaj MaciejBaj requested review from diego-G and 4miners June 28, 2018 15:11
@MaciejBaj MaciejBaj removed this from the Version 1.1.0 milestone Jun 28, 2018
@nazarhussain nazarhussain force-pushed the 2156-cleanup-test-suit branch from bae0e80 to ff5ea0f Compare July 2, 2018 08:36
@nazarhussain nazarhussain changed the base branch from 398-multi-net-configuration to 1.1.0 July 2, 2018 08:36
@nazarhussain nazarhussain force-pushed the 2156-cleanup-test-suit branch from ff5ea0f to d7c255d Compare July 3, 2018 10:33
@@ -369,7 +368,7 @@ describe('system test (blocks) - chain/applyBlock', () => {
payloadHash:
'be0df321b1653c203226add63ac0d13b3411c2f4caf0a213566cbd39edb7ce3b',
payloadLength: 494,
previousBlock: genesisBlock.id,
previousBlock: __testContext.config.genesisBlock,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not __testContext.config.genesisBlock.id?

@@ -22,7 +22,7 @@ var utils = require('../utils');

module.exports = {
waitForAllNodesToBeReady(configurations, cb) {
const retries = 20;
const retries = 40;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need to increase that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was messed up from me. I staged some changes, but whole file was committed.

@nazarhussain nazarhussain force-pushed the 2156-cleanup-test-suit branch from 594de90 to b3f8473 Compare July 3, 2018 13:02
@nazarhussain nazarhussain requested a review from 4miners July 3, 2018 13:13
@4miners
Copy link
Contributor

4miners commented Jul 3, 2018

Great work @nazarhussain 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants