Ack

Thanks
Lennart

> -----Original Message-----
> From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au]
> Sent: den 17 november 2016 04:51
> To: Lennart Lund <lennart.l...@ericsson.com>; mahesh.va...@oracle.com
> Cc: opensaf-devel@lists.sourceforge.net
> Subject: [PATCH 1 of 1] log: fix logtest 5 3 failed [#2168]
> 
>  tests/logsv/tet_LogOiOps.c |  2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 
> The test case was created to verify if all log streams' directories are 
> created
> successfully when changing `logRootDirectory`.
> 
> There are mainly 03 steps:
> 1) Change `logRootDirectory`
> 2) Wait 100ms
> 3) Verify if the log stream's directory is created
> 
> If step #1 takes more than 100ms, the verificaiton step will fail.
> 
> This patch increase the time at step #2 to 1 second to make sure
> the step #1 done.
> 
> diff --git a/tests/logsv/tet_LogOiOps.c b/tests/logsv/tet_LogOiOps.c
> --- a/tests/logsv/tet_LogOiOps.c
> +++ b/tests/logsv/tet_LogOiOps.c
> @@ -1076,7 +1076,7 @@ void change_root_path(void)
>       }
> 
>       // Verify if the directory and subdirectly are created successfully
> -     usleep(100*1000); // to make sure logsv done processing of
> directories creation
> +     sleep(1); // to make sure logsv done processing of directories
> creation
>       sprintf(command, "ls %s/testRoot 1>/dev/null", tstdir);
>       rc = tet_system(command);
>       if (rc != 0) {

------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to