##// END OF EJS Templates
Adds the ability to force an acquisition pending for an operation (2)...
Alexandre Leroux -
r1250:a7d21961e1ef
parent child
Show More
@@ -226,7 +226,8 public:
226 auto variableId = variableOperation.first;
226 auto variableId = variableOperation.first;
227 auto fuzzingOperation = variableOperation.second;
227 auto fuzzingOperation = variableOperation.second;
228
228
229 auto waitAcquisition = nextValidationCounter == 0;
229 auto waitAcquisition = nextValidationCounter == 0
230 || operationsPool().at(fuzzingOperation).m_WaitAcquisition;
230
231
231 fuzzingOperation->execute(variableId, m_FuzzingState, m_VariableController,
232 fuzzingOperation->execute(variableId, m_FuzzingState, m_VariableController,
232 m_Properties);
233 m_Properties);
@@ -237,8 +238,10 public:
237 acquisitionTimeout());
238 acquisitionTimeout());
238
239
239 // Validates variables
240 // Validates variables
240 validate(m_FuzzingState.m_VariablesPool, validators());
241 if (nextValidationCounter == 0) {
241 updateValidationCounter();
242 validate(m_FuzzingState.m_VariablesPool, validators());
243 updateValidationCounter();
244 }
242 }
245 }
243 else {
246 else {
244 // Delays the next operation with a randomly generated time
247 // Delays the next operation with a randomly generated time
General Comments 0
You need to be logged in to leave comments. Login now