Skip to content

Commit

Permalink
Fixed test condition for claim timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
oxtoacart committed Jan 28, 2015
1 parent c606a87 commit 310f857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.com/getlantern/connpool/connpool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func TestPropertyChange(t *testing.T) {
defer p.Close()

cfg.ClaimTimeout = 7 * time.Second
assert.NotEqual(t, claimTimeout, cfg.ClaimTimeout, "Property changed on config shouldn't be reflected in pool")
assert.Equal(t, claimTimeout, p.(*pool).Config.ClaimTimeout, "Property changed on config shouldn't be reflected in pool")
}

func connectAndRead(t *testing.T, p Pool, loops int) {
Expand Down

0 comments on commit 310f857

Please sign in to comment.