-
Notifications
You must be signed in to change notification settings - Fork 113
Fix concurrency issues in tests to make build stable. #113
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
Conversation
@@ -175,8 +176,10 @@ public boolean isLogDisabled() { | |||
return logDisabled; | |||
} | |||
|
|||
public LogBuffer<LogMultipleRecord> getBuffer() { | |||
return buffer; | |||
public void withBuffer(Consumer<LogBuffer<LogMultipleRecord>> bufferConsumer) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one of the 2 changes that make the tests pass, accessing the buffer in a thread safe manner.
@@ -204,8 +205,10 @@ public boolean isLogDisabled() { | |||
return logDisabled; | |||
} | |||
|
|||
public LogBuffer<LogRecord> getBuffer() { | |||
return buffer; | |||
public void withBuffer(Consumer<LogBuffer<LogRecord>> bufferConsumer) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one of the 2 changes that make the tests pass, accessing the buffer in a thread safe manner.
As per MANGO-1975
As per MANGO-1975
As per MANGO-1975
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We talked about this a couple of times, looks good. It's better than before so it's a step in the right direction.
Requires sero-warp 1.0.1-SNAPSHOT (Not released) As per MANGO-1975
As per MANGO-1975
As per MANGO-1975
…ice. As per MANGO-1975
As per MANGO-1975
As per MANGO-1981
…e them in tests As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
Fix DeviceCommunicationControlRequestTest As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
…and refactor for sonarqube As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
As per MANGO-1981 In preparation for MANGO-2061
This is possible as we are creating a "Larger Work" of combined MPL + GNU licensed code
…sport As per MANGO-2104
* Remove unused wildcard methods * Remove unnecessary static modifier
Changes for schedule object test to be reliable.
|
Finding and fixing many timing related issues for testing.
Adding an abstraction for the Network and Transport layers to use in testing for better reproducibility.
Kown tests that still need to be fixed due to sporadic failing:
Tickets handled here:
Ticket not handled here: