Commit 09abbaae authored by dcarney's avatar dcarney Committed by Commit bot

delete flaky test MultithreadedParallelIsolates

BUG=3215
LOG=N

Review URL: https://codereview.chromium.org/855333002

Cr-Commit-Position: refs/heads/master@{#26136}
parent 7d54d54d
......@@ -169,13 +169,10 @@
['asan == True', {
# Skip tests not suitable for ASAN.
'test-assembler-x64/AssemblerX64XchglOperations': [SKIP],
'test-lockers/MultithreadedParallelIsolates': [SKIP],
}], # 'asan == True'
##############################################################################
['no_snap == True', {
# BUG(3215)
'test-lockers/MultithreadedParallelIsolates': [PASS, FAIL, TIMEOUT],
}], # 'no_snap == True'
##############################################################################
......@@ -195,9 +192,6 @@
# BUG(3005).
'test-alloc/CodeRange': [PASS, FAIL],
# BUG(3215). Crashes on windows.
'test-lockers/MultithreadedParallelIsolates': [SKIP],
# BUG(3331). Fails on windows.
'test-heap/NoWeakHashTableLeakWithIncrementalMarking': [SKIP],
......@@ -315,7 +309,6 @@
# NaCl builds have problems with threaded tests since Pepper_28.
# V8 Issue 2786
'test-api/Threading1': [SKIP],
'test-lockers/MultithreadedParallelIsolates': [SKIP],
'test-lockers/ExtensionsRegistration': [SKIP],
# These tests fail as there is no /tmp directory in Native Client.
......
......@@ -221,42 +221,6 @@ TEST(IsolateLockingStress) {
isolate->Dispose();
}
class IsolateNonlockingThread : public JoinableThread {
public:
IsolateNonlockingThread() : JoinableThread("IsolateNonlockingThread") {}
virtual void Run() {
v8::Isolate* isolate = v8::Isolate::New();
{
v8::Isolate::Scope isolate_scope(isolate);
v8::HandleScope handle_scope(isolate);
v8::Handle<v8::Context> context = v8::Context::New(isolate);
v8::Context::Scope context_scope(context);
CHECK_EQ(isolate, v8::internal::Isolate::Current());
CalcFibAndCheck();
}
isolate->Dispose();
}
private:
};
// Run many threads each accessing its own isolate without locking
TEST(MultithreadedParallelIsolates) {
#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS
const int kNThreads = 10;
#elif V8_TARGET_ARCH_X64 && V8_TARGET_ARCH_32_BIT
const int kNThreads = 4;
#else
const int kNThreads = 50;
#endif
i::List<JoinableThread*> threads(kNThreads);
for (int i = 0; i < kNThreads; i++) {
threads.Add(new IsolateNonlockingThread());
}
StartJoinAndDeleteThreads(threads);
}
class IsolateNestedLockingThread : public JoinableThread {
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment