[ https://issues.apache.org/jira/browse/YUNIKORN-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113961#comment-17113961 ]
Kinga Marton commented on YUNIKORN-155: --------------------------------------- Finally I was able to reproduce the data race with a simple unit test where in one go routine I set the Queue and in an another one I did some logging. The fix was to implement the String() method for the ApplicationInfo object and do the locking there as well. Thank you [~adam.antal] for the hint! > data race in unit test: TestSchedulerRecoveryWhenPlacementRulesApplied > ---------------------------------------------------------------------- > > Key: YUNIKORN-155 > URL: https://issues.apache.org/jira/browse/YUNIKORN-155 > Project: Apache YuniKorn > Issue Type: Test > Components: test - unit > Reporter: Wilfred Spiegelenburg > Assignee: Kinga Marton > Priority: Major > Labels: pull-request-available > Attachments: data_race.txt > > > Testing shows a new data race while logging the queue name for an application > that gets added. > Details in the attached logs -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org