Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Fix randomly failing delegate test - Closes #859 #934

Merged
merged 3 commits into from
Nov 1, 2017

Conversation

ginacontrino
Copy link
Contributor

@ginacontrino ginacontrino commented Oct 27, 2017

What's the problem?
The delegate utils test
should return requestToActivePeer(activePeer, 'delegates/search', options) if options.q is set
is randomly failing. The assumption is, that this is caused by non-proper promise testing in previous tests.
#859

What did you do?

  • Corrected the account utils tests, that were not working and not dealing with promises correctly
  • Also corrected the delegate utils tests, since these weren't correct either

Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

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

Thanks @ginacontrino

@ginacontrino ginacontrino merged commit 3613290 into 1.3.0 Nov 1, 2017
@ginacontrino ginacontrino deleted the 859-delegate-unit-test branch November 1, 2017 14:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants