(Logical change 1.151) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@533 fd59a12c-fef9-0310-b244-a6a79926bd2f
@@ -173,10 +173,14 @@ void ckpt_benchmark (SaCkptCheckpointHandleT checkpointHandle,
/*
* Test checkpoint write
*/
+retry:
error = saCkptCheckpointWrite (checkpointHandle,
WriteVectorElements,
1,
&erroroneousVectorIndex);
+ if (error == SA_AIS_ERR_TRY_AGAIN) {
+ goto retry;
+ }
if (error != SA_OK) {
printf ("saCkptCheckpointWrite result %d (should be 1)\n", error);
exit (1);