mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-14 19:21:58 +00:00
Run full tests instead of writing a bunch of checkpoints.
(Logical change 1.24) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@68 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
e95bf676ed
commit
57b0cdd65e
@ -169,6 +169,7 @@ printf ("create1 error is %d\n", error);
|
||||
strlen ("Initial Data #0") + 1);
|
||||
printf ("create2 error is %d\n", error);
|
||||
printf ("saCkptSectionCreate result %d (should be 1)\n", error);
|
||||
#ifdef cmpout
|
||||
for (ckptinv = 0; ckptinv < 500000; ckptinv++) {
|
||||
printf ("Writing checkpoint loop %d\n", ckptinv);
|
||||
/*
|
||||
@ -184,6 +185,7 @@ if (error != SA_OK) {
|
||||
}
|
||||
}
|
||||
exit (1);
|
||||
#endif
|
||||
|
||||
error = saCkptCheckpointUnlink (&checkpointName);
|
||||
printf ("unlink result %d (should be 1)\n", error);
|
||||
@ -287,6 +289,7 @@ exit (1);
|
||||
printf (" buffer #2: '%s'\n", readBuffer2);
|
||||
|
||||
//sleep (20);
|
||||
#ifdef COMPILE_OUT
|
||||
for (ckptinv = 0; ckptinv < 2000; ckptinv++) {
|
||||
/*
|
||||
* Test checkpoint write
|
||||
@ -302,6 +305,7 @@ exit (1);
|
||||
}
|
||||
}
|
||||
exit (1);
|
||||
#endif
|
||||
error = saCkptCheckpointRead (&checkpointHandle,
|
||||
ReadVectorElements,
|
||||
2,
|
||||
|
Loading…
Reference in New Issue
Block a user