Skip to content

Commit

Permalink
fix(test) fix an occasionally failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Aug 14, 2017
1 parent a34e094 commit b1dfd54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ use the `rbusted` script.
History
=======

### 0.6.x (xx-xxx-2017) Fixes and refactor

- Fix: fix an occasionally failing test

### 0.6.1 (28-Jul-2017) Randomization adjusted

- Change: use a different randomizer for the ring-balancer to predictably
Expand Down
2 changes: 1 addition & 1 deletion spec/balancer_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ describe("Loadbalancer", function()
}, count)

-- expire the existing record
record.expire = gettime() - 1
record.expire = 0
record.expired = true
-- do a lookup to trigger the async lookup
client.resolve("does.not.exist.mashape.com", {qtype = client.TYPE_A})
Expand Down

0 comments on commit b1dfd54

Please sign in to comment.