summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-12-15 22:22:51 +0000
committerDavide Italiano <davide@freebsd.org>2017-12-15 22:22:51 +0000
commit5d674ad29c253dc228eed9c77bf4b3716b02b4e0 (patch)
tree29b22df66282a1bbe80effb65f1b293cea96122c
parent3442a27ebc7bbd44d552d79ffe59bb5e1ab249ed (diff)
[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> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@320883 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--packages/Python/lldbsuite/test/macosx/queues/TestQueues.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py b/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py
index 2d86f860d..8eabe9a76 100644
--- a/packages/Python/lldbsuite/test/macosx/queues/TestQueues.py
+++ b/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(