aboutsummaryrefslogtreecommitdiffstats
path: root/executor/test_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-09-01 11:28:48 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-09-01 12:15:05 +0200
commit86c46e46b3386a258ed2dd51dcd2b4e932d4097e (patch)
tree5de9d0bec4f73123cc3be2a1f5ca7d8be94e9382 /executor/test_linux.h
parentd8e6f911090ec0020f34e094005284b5c8ac1e7f (diff)
dashboard/app: fix a reporting race
When dashboard receives first crash for a new bug, it first creates the Bug object and then separately creates the first Crash and updates Bug accordingly. Currently it's possible that reporting kicks in right in between and sees the Bug without any crashes. This may cause the bug to be mis-classified by the filter. Wait for the first crash before reporting bugs. No easy way to test this since this requires a race condition. But not breaking any of the existing tests should be good enough.
Diffstat (limited to 'executor/test_linux.h')
0 files changed, 0 insertions, 0 deletions