OpenJDK / bsd-port / jdk9 / hotspot
changeset 12481:9802f36e363f
8170919: LogStreamTest tests crash if they are run first
Reviewed-by: jwilhelm, mlarsson
author | kzhaldyb |
---|---|
date | Thu, 08 Dec 2016 15:56:57 +0300 |
parents | f44226771aac |
children | 613c2bdefa16 |
files | test/native/logging/test_logStream.cpp |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/test/native/logging/test_logStream.cpp Mon Dec 19 16:26:22 2016 +0100 +++ b/test/native/logging/test_logStream.cpp Thu Dec 08 15:56:57 2016 +0300 @@ -41,41 +41,41 @@ EXPECT_TRUE(file_contains_substring(TestLogFileName, "3 workers\n")); } -TEST_F(LogStreamTest, from_log) { +TEST_VM_F(LogStreamTest, from_log) { Log(gc) log; LogStream stream(log.debug()); verify_stream(&stream); } -TEST_F(LogStreamTest, from_logtarget) { +TEST_VM_F(LogStreamTest, from_logtarget) { LogTarget(Debug, gc) log; LogStream stream(log); verify_stream(&stream); } -TEST_F(LogStreamTest, handle) { +TEST_VM_F(LogStreamTest, handle) { LogStreamHandle(Debug, gc) stream; verify_stream(&stream); } -TEST_F(LogStreamTest, no_rm) { +TEST_VM_F(LogStreamTest, no_rm) { ResourceMark rm; outputStream* stream = LogTarget(Debug, gc)::stream(); verify_stream(stream); } -TEST_F(LogStreamTest, c_heap_stream) { +TEST_VM_F(LogStreamTest, c_heap_stream) { Log(gc) log; LogStreamCHeap stream(log.debug()); verify_stream(&stream); } -TEST_F(LogStreamTest, c_heap_stream_target) { +TEST_VM_F(LogStreamTest, c_heap_stream_target) { LogTarget(Debug, gc) log; LogStreamCHeap stream(log);