Skip to content

Commit 4ba3b9e

Browse files
committed
fix buffer thread safety test
1 parent 04cd815 commit 4ba3b9e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/thread_safety/target/buffer.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22

33
/*
4-
* Copyright 2020-2024 Joel E. Anderson
4+
* Copyright 2020-2025 Joel E. Anderson
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -80,9 +80,7 @@ namespace {
8080
struct stumpless_target *target;
8181

8282
// set up the target to log to
83-
target = stumpless_open_buffer_target( "thread-safety-test-buffer",
84-
log_buffer,
85-
LOG_BUFFER_SIZE );
83+
target = stumpless_open_buffer_target( log_buffer, LOG_BUFFER_SIZE );
8684
EXPECT_NO_ERROR;
8785
ASSERT_NOT_NULL( target );
8886

@@ -110,9 +108,7 @@ namespace {
110108
stumpless_set_error_stream( error_stream );
111109

112110
// set up the target to log to
113-
target = stumpless_open_buffer_target( "thread-safety-test-buffer-perror",
114-
log_buffer,
115-
LOG_BUFFER_SIZE );
111+
target = stumpless_open_buffer_target( log_buffer, LOG_BUFFER_SIZE );
116112
EXPECT_NO_ERROR;
117113
ASSERT_NOT_NULL( target );
118114

0 commit comments

Comments
 (0)