Skip to content

test(networks): Fix AbstractNetwork Tests#102

Merged
faustbrian merged 2 commits intoArkEcosystemArchive:developfrom
sleepdefic1t:test(networks)/fix-abstractnetwork
Jun 21, 2019
Merged

test(networks): Fix AbstractNetwork Tests#102
faustbrian merged 2 commits intoArkEcosystemArchive:developfrom
sleepdefic1t:test(networks)/fix-abstractnetwork

Conversation

@sleepdefic1t
Copy link
Contributor

Current tests are ran in different orders per platform.
This led to a global test custom_network (AbstractNetwork) being modified incorrectly.

This PR properly handles that order variation by creating a local object to be modified instead.

Tests may fail until #101 is merged and this PR is rebased.

What kind of change does this PR introduce?

  • Tests

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • It's submitted to the develop branch, not the master branch
  • All tests are passing
  • New/updated tests are included

Current tests are ran in different orders per platform.
This led to a modified global test custom_network being modified improperly.

This PR properly handles that order variation by creating a local object to be modified.

In future iterations, an AbstractNetwork will allow `const`.
@ghost ghost added Complexity: Low Less than 64 lines changed. Test: Unit The issue or pull request is related to unit tests for testing individual elements. labels Jun 21, 2019
@ghost
Copy link

ghost commented Jun 21, 2019

The ci/circleci: build-linux-default job is failing as of 2f1951b200c8a5fa7e8016229592521a0a70bb76. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

1 similar comment
@ghost
Copy link

ghost commented Jun 21, 2019

The ci/circleci: build-linux-default job is failing as of 2f1951b200c8a5fa7e8016229592521a0a70bb76. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@faustbrian faustbrian merged commit 81647da into ArkEcosystemArchive:develop Jun 21, 2019
@sleepdefic1t sleepdefic1t deleted the test(networks)/fix-abstractnetwork branch June 21, 2019 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complexity: Low Less than 64 lines changed. Test: Unit The issue or pull request is related to unit tests for testing individual elements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants