Changeset 181880 in webkit
- Timestamp:
- Mar 23, 2015, 3:56:58 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/Tests/WTF/WorkQueue.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r181853 r181880 1 2015-03-23 Brent Fulgham <bfulgham@apple.com> 2 3 Regression(r181257): WTF_WorkQueue.Simple is flaky 4 https://bugs.webkit.org/show_bug.cgi?id=142560 5 6 Remove the check that the refCount has returned to one after the 7 individual tasks have completed. It's too nondeterministic when 8 the reference count will be reduced. 9 10 Reviewed by Alexey Proskuryakov 11 12 * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: 13 (TestWebKitAPI::TEST): Remove test that refCount is back to 1. 14 1 15 2015-03-23 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 16 -
trunk/Tools/TestWebKitAPI/Tests/WTF/WorkQueue.cpp
r181362 r181880 88 88 EXPECT_TRUE(calledLongTest); 89 89 EXPECT_TRUE(calledThirdTest); 90 EXPECT_EQ(1, queue->refCount());91 90 92 91 EXPECT_EQ(static_cast<size_t>(3), m_functionCallOrder.size()); … … 109 108 auto queue2 = WorkQueue::create("com.apple.WebKit.Test.twoQueues2"); 110 109 111 int initialQueue1RefCount = queue1->refCount(); 112 int initialQueue2RefCount = queue2->refCount(); 113 EXPECT_EQ(1, initialQueue1RefCount); 114 EXPECT_EQ(1, initialQueue2RefCount); 110 EXPECT_EQ(1, queue1->refCount()); 111 EXPECT_EQ(1, queue2->refCount()); 115 112 116 113 MutexLocker locker(m_lock); … … 147 144 EXPECT_FALSE(calledLongTest); 148 145 EXPECT_TRUE(calledThirdTest); 149 EXPECT_EQ(1, queue1->refCount());150 146 151 147 m_testQueue2Completed.wait(m_lock); … … 154 150 EXPECT_TRUE(calledLongTest); 155 151 EXPECT_TRUE(calledThirdTest); 156 EXPECT_EQ(1, queue2->refCount());157 152 158 153 EXPECT_EQ(static_cast<size_t>(3), m_functionCallOrder.size());
Note:
See TracChangeset
for help on using the changeset viewer.