mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-05-24 02:33:37 +00:00
enable some testing code.
(Logical change 1.117) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@418 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
e883314a18
commit
0458d9c734
@ -171,6 +171,11 @@ int main (void) {
|
||||
§ionCreationAttributes1,
|
||||
"Initial Data #0",
|
||||
strlen ("Initial Data #0") + 1);
|
||||
if (error != SA_OK) {
|
||||
error = saCkptSectionExpirationTimeSet (&checkpointHandle,
|
||||
§ionId1,
|
||||
sectionCreationAttributes1.expirationTime);
|
||||
}
|
||||
|
||||
printf ("create1 error is %d\n", error);
|
||||
printf ("Please wait, testing expiry of checkpoint sections.\n");
|
||||
@ -187,7 +192,6 @@ printf ("Please wait, testing expiry of checkpoint sections.\n");
|
||||
error = saCkptCheckpointRetentionDurationSet (&checkpointHandle,
|
||||
5000000000LL);
|
||||
printf ("RetentionDurationSet is %d\n", error);
|
||||
exit (1);
|
||||
|
||||
error = saCkptSectionCreate (&checkpointHandle,
|
||||
§ionCreationAttributes2,
|
||||
|
Loading…
Reference in New Issue
Block a user