This is an archive of the discontinued LLVM Phabricator instance.

Fix TestSendSignal.py for remote.
ClosedPublic

Authored by chaoren on Mar 30 2015, 4:54 PM.

Diff Detail

Event Timeline

chaoren updated this revision to Diff 22919.Mar 30 2015, 4:54 PM
chaoren retitled this revision from to Fix TestSendSignal.py for remote..
chaoren updated this object.
chaoren edited the test plan for this revision. (Show Details)
chaoren added reviewers: ovyalov, clayborg.
chaoren added a subscriber: Unknown Object (MLST).
clayborg accepted this revision.Mar 30 2015, 5:45 PM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Mar 30 2015, 5:45 PM
ovyalov edited edge metadata.Mar 30 2015, 6:00 PM

Please see my comments.

test/functionalities/signal/TestSendSignal.py
98

Could you wrap added snippet into a new method so it can be reused both for eStateConnected and eStateRunning?

99

Swap this instruction with self.assertTrue (got_event, "Got an event") ?
It seems there is no need to call GetStateFromEvent if !got_event.

chaoren updated this revision to Diff 22925.Mar 30 2015, 8:45 PM
chaoren edited edge metadata.

Fixup as per Oleksiy's advice.

ovyalov accepted this revision.Mar 30 2015, 9:11 PM
ovyalov edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.