Просмотр исходного кода

Need to specify create because the channel probably doesn't exist anymore.

(Logical change 1.115)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@404 fd59a12c-fef9-0310-b244-a6a79926bd2f
Mark Haverkamp 21 лет назад
Родитель
Сommit
2fefbeaeb4
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      test/testevt.c

+ 3 - 1
test/testevt.c

@@ -1974,7 +1974,9 @@ test_retention()
 	int timeout = (EXPIRE_TIME + 5);
 	int timeout = (EXPIRE_TIME + 5);
 	SaErrorT result;
 	SaErrorT result;
 	 
 	 
-	flags = SA_EVT_CHANNEL_PUBLISHER|SA_EVT_CHANNEL_SUBSCRIBER;
+	flags = SA_EVT_CHANNEL_PUBLISHER |
+		SA_EVT_CHANNEL_SUBSCRIBER |
+		SA_EVT_CHANNEL_CREATE;
 	strcpy(channel_name.value, channel);
 	strcpy(channel_name.value, channel);
 	channel_name.length = strlen(channel);
 	channel_name.length = strlen(channel);