Because the log agent have to wait for the clm node status message, increase
timeout in logtest.
---
src/log/agent/lga_util.cc | 2 +-
src/log/apitest/tet_saLogStreamOpen_2.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/log/agent/lga_util.cc b/src/log/agent/lga_util.cc
index c1a50f5ae..2a3347a76 100644
--- a/src/log/agent/lga_util.cc
+++ b/src/log/agent/lga_util.cc
@@ -64,7 +64,7 @@ static unsigned int lga_create() {
/**
* Delete log agent
- *
+ *
* @return unsigned int
*/
static unsigned int lga_delete() {
diff --git a/src/log/apitest/tet_saLogStreamOpen_2.c
b/src/log/apitest/tet_saLogStreamOpen_2.c
index ecb50c320..7f0e74f69 100644
--- a/src/log/apitest/tet_saLogStreamOpen_2.c
+++ b/src/log/apitest/tet_saLogStreamOpen_2.c
@@ -871,7 +871,7 @@ void *saLogInitialize_1(void *arg)
SaAisErrorT *rt = (SaAisErrorT *)arg;
SaLogStreamHandleT logStreamHandle1;
SaLogHandleT logHandle1;
- int time_wait = 10*1000; // Wait for timeout is 10 seconds
+ int time_wait = 20*1000; // Wait for timeout is 20 seconds
SaVersionT log_version;
struct timespec timeout_time;
@@ -1226,7 +1226,7 @@ __attribute__((constructor)) static void
saLibraryLifeCycle_constructor(void)
"saLogStreamOpen_2 with stream number out of the limitation, ERR");
test_case_add(
2, saLogMultipleInitialize,
- "saLogInitialize() then saLogFinalize() multiple times. keep MDS
connection, OK");
+ "saLogInitialize() then saLogFinalize() multiple times, OK");
test_case_add(
2, saLogMultiThreadMultiInit,
"saLogInitialize() then saLogFinalize() multiple times in multiple
threads, OK");
--
2.17.1
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel