##// 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 226 auto variableId = variableOperation.first;
227 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 232 fuzzingOperation->execute(variableId, m_FuzzingState, m_VariableController,
232 233 m_Properties);
@@ -237,9 +238,11 public:
237 238 acquisitionTimeout());
238 239
239 240 // Validates variables
241 if (nextValidationCounter == 0) {
240 242 validate(m_FuzzingState.m_VariablesPool, validators());
241 243 updateValidationCounter();
242 244 }
245 }
243 246 else {
244 247 // Delays the next operation with a randomly generated time
245 248 auto delay = RandomGenerator::instance().generateInt(operationDelays().first,
General Comments 0
You need to be logged in to leave comments. Login now