diff options
author | Davide Italiano <davide@freebsd.org> | 2017-12-15 22:22:51 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2017-12-15 22:22:51 +0000 |
commit | 8539edb0f37613ba4e9a5c5e9bd059221a9336d8 (patch) | |
tree | 01d8e892d2bf12ee0bf45ee17b72204626982489 /lldb/packages/Python/lldbsuite/test/macosx/queues | |
parent | 4684033a2f991279187a4db8331fc514ac80293d (diff) | |
download | bcm5719-llvm-8539edb0f37613ba4e9a5c5e9bd059221a9336d8.tar.gz bcm5719-llvm-8539edb0f37613ba4e9a5c5e9bd059221a9336d8.zip |
[MacOSX/Queues] Relax an overly aggressive assertion in a test.
"Default" is a valid QoS for a thread on older versions of macOS,
like the one installed in the bot.
Thanks to Jason Molenda for helping me figuring out the problem.
<rdar://problem/28346273>
llvm-svn: 320883
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/queues')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py b/lldb/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py index 2d86f860d52..8eabe9a7663 100644 --- a/lldb/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py +++ b/lldb/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py @@ -230,8 +230,9 @@ class TestQueues(TestBase): "requested_qos.printable_name", stream), "Get QoS printable string for unspecified QoS thread") + qosName = stream.GetData() self.assertTrue( - stream.GetData() == "User Initiated", + qosName == "User Initiated" or qosName == "Default", "unspecified QoS thread name is valid") stream.Clear() self.assertTrue( |