Refactor State to be 100% thread safe#2798
Conversation
|
|
Running with TESTFLAGS="-race" is now much happer. |
|
Another build failure is |
|
@pnasrat sorry about that, I open the PR before running the test (building the docker image). Now everything compiles, but sitll have 2 failure. |
|
All tests now pass. Ping @crosbymichael @vieux |
There was a problem hiding this comment.
So that way, no matter where you run docker, the date will be consistent.
There was a problem hiding this comment.
Don't you think it ca create some issue when we display it in docker ps ?
There was a problem hiding this comment.
@vieux If the time zone of the host changes, it might cause problems when the time zone has to be converted from one non-UTC time zone to another non-UTC time zone.
There was a problem hiding this comment.
@creack @unclejack True but I don't think this is the pull request to make a change like this. It is out of the scope and could cause issues if users are relying on their local time.
|
I got: Note that |
|
I'm seeing something similar: |
|
@unclejack This is an other race. @vieux can you make sure you have the latest commit and try again the first 2 tests? |
|
@unclejack those are unrelated hellos are unrelated, they also happen sometimes on master |
|
It's possible we've made another race more determistic! Could someone do a PR to comment all the tests that are known flaky? Paul On 21 November 2013 18:59, unclejack [email protected] wrote:
|
|
I just succesfully passed the tests. I didn't have the last version. TestAttachDetach fails randomly, like on master LGTM On Thu, Nov 21, 2013 at 4:01 PM, Paul Nasrat [email protected]:
|
|
ping @crosbymichael, I'll make a separate PR for UTC |
|
LGTM |
Refactor State to be 100% thread safe
No description provided.