summaryrefslogtreecommitdiff
path: root/tests/Naming_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Naming_Test.cpp')
-rw-r--r--tests/Naming_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Naming_Test.cpp b/tests/Naming_Test.cpp
index faeb86ecc21..712ff5fd2a2 100644
--- a/tests/Naming_Test.cpp
+++ b/tests/Naming_Test.cpp
@@ -135,7 +135,7 @@ main (int argc, char *argv[])
// Set the database name using mktemp to generate a unique file name
name_options->database (ACE_OS::mktemp (temp_file));
- ACE_ASSERT (ns_context->open (ACE_Naming_Context::PROC_LOCAL) != -1);
+ ACE_ASSERT (ns_context->open (ACE_Naming_Context::PROC_LOCAL, 1) != -1);
// Add some bindings to the database
bind (ns_context, 0);