Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in windows #2

Closed
FLYyyyy2016 opened this issue Nov 27, 2019 · 1 comment
Closed

bug in windows #2

FLYyyyy2016 opened this issue Nov 27, 2019 · 1 comment
Assignees

Comments

@FLYyyyy2016
Copy link
Owner

FLYyyyy2016 commented Nov 27, 2019

error like this:

test function run in windows not all pass.

=== RUN   TestSchedule
--- PASS: TestSchedule (0.00s)
=== RUN   TestSchedule_Delay
--- PASS: TestSchedule_Delay (3.02s)
=== RUN   TestSchedule_Every
--- PASS: TestSchedule_Every (4.55s)
=== RUN   TestDelayJob_CancelDoing
--- PASS: TestDelayJob_CancelDoing (0.12s)
=== RUN   TestEveryJob_CancelDoing
--- PASS: TestEveryJob_CancelDoing (0.10s)
=== RUN   TestDelayJob_Cancel
--- PASS: TestDelayJob_Cancel (3.00s)
=== RUN   TestEveryJob_Cancel
schedule_test.go:150 240 does not equal 150
--- FAIL: TestEveryJob_Cancel (2.52s)
=== RUN   TestJob_GetJobStats
schedule_test.go:188 20 does not equal 397
--- FAIL: TestJob_GetJobStats (1.07s)
=== RUN   TestJobReDo
--- PASS: TestJobReDo (1.00s)
FAIL

Process finished with exit code 1
@FLYyyyy2016 FLYyyyy2016 self-assigned this Nov 27, 2019
@FLYyyyy2016
Copy link
Owner Author

FLYyyyy2016 commented Nov 28, 2019

it is because the nextId generate by the time , if time is nearly ,the id is same ;
bug fix by the commit commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant