Index: test/cctest/test-semaphore.cc |
diff --git a/test/cctest/test-semaphore.cc b/test/cctest/test-semaphore.cc |
index 860531132f59aa7533b83cd1c8333ed345f90797..3a8a3a1b8711306a66acb9621677646b0e086e12 100644 |
--- a/test/cctest/test-semaphore.cc |
+++ b/test/cctest/test-semaphore.cc |
@@ -47,7 +47,7 @@ class WaitAndSignalThread V8_FINAL : public v8::base::Thread { |
semaphore_->Wait(); |
bool result = |
semaphore_->WaitFor(v8::base::TimeDelta::FromMicroseconds(1)); |
- ASSERT(!result); |
+ DCHECK(!result); |
USE(result); |
semaphore_->Signal(); |
} |
@@ -75,7 +75,7 @@ TEST(WaitAndSignal) { |
semaphore.Wait(); |
bool result = semaphore.WaitFor(v8::base::TimeDelta::FromMicroseconds(1)); |
- ASSERT(!result); |
+ DCHECK(!result); |
USE(result); |
} |
@@ -138,7 +138,7 @@ class ConsumerThread V8_FINAL : public v8::base::Thread { |
virtual void Run() V8_OVERRIDE { |
for (int n = 0; n < kDataSize; ++n) { |
used_space.Wait(); |
- ASSERT_EQ(static_cast<int>(alphabet[n % kAlphabetSize]), |
+ DCHECK_EQ(static_cast<int>(alphabet[n % kAlphabetSize]), |
static_cast<int>(buffer[n % kBufferSize])); |
free_space.Signal(); |
} |