]> Cypherpunks repositories - gostls13.git/commit
time: Fix ordering of slots in AfterQueueing test
authorKeith Randall <khr@golang.org>
Mon, 4 May 2015 16:17:53 +0000 (09:17 -0700)
committerKeith Randall <khr@golang.org>
Mon, 4 May 2015 16:49:37 +0000 (16:49 +0000)
commite2e322d293bfd12db095229dd54349c61f4669cf
tree7b9efa37fd7443d7ae0c5e95d4b209fc67d8f6e6
parent4ddd751c9283050806701786649e6f7d79fca47b
time: Fix ordering of slots in AfterQueueing test

We shouldn't sort the slots array, as it is used each time the
test is run.  Tests after the first should continue to use the
unsorted ordering.

Note that this doesn't fix the flaky test.  Just a bug I saw
while investigating.

Change-Id: Ic03cca637829d569d50d3a2278d19410d4dedba9
Reviewed-on: https://go-review.googlesource.com/9637
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/sleep_test.go