Rename traces and add comments when getting empty worker list

This commit is contained in:
Chaoguang Lin 2020-09-18 19:28:32 -07:00
parent 443385b052
commit 4d36ed7ba3

View File

@ -664,7 +664,8 @@ struct SpecialKeySpaceCorrectnessWorkload : TestWorkload {
wait(tx->commit());
ASSERT(false);
} else {
TraceEvent(SevDebug, "SpecialKeyCorrectnessTestGetZeroWorkers");
// If no worker process returned, skip the test
TraceEvent(SevDebug, "EmptyWorkerListInSetClassTest");
}
} catch (Error& e) {
if (e.code() == error_code_actor_cancelled) throw;
@ -732,7 +733,8 @@ struct SpecialKeySpaceCorrectnessWorkload : TestWorkload {
ASSERT(class_source.present() && class_source.get() == LiteralStringRef("set_class"));
tx->reset();
} else {
TraceEvent(SevDebug, "SpecialKeyCorrectnessTestGetZeroWorkers");
// If no worker process returned, skip the test
TraceEvent(SevDebug, "EmptyWorkerListInSetClassTest");
}
} catch (Error& e) {
if (e.code() == error_code_actor_cancelled) throw;