Skip to content

Commit

Permalink
Insert a sleep between server intialization and writer startup in the…
Browse files Browse the repository at this point in the history
… combined writer/server test
  • Loading branch information
philip-davis committed Aug 21, 2024
1 parent 3ebc1e2 commit da6c0d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_writer_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

extern int test_put_run(int dims, int *npdim, uint64_t *spdim, int timestep,
size_t elem_size, int num_vars, int local_mode,
Expand Down Expand Up @@ -174,6 +175,8 @@ int main(int argc, char **argv)
if(ret != 0)
return ret;

sleep(2);

test_put_run(dims, np, sp, timestep, elem_size, num_vars, local_mode,
terminate, nonblock, gcomm);

Expand Down

0 comments on commit da6c0d6

Please sign in to comment.