Exemple #1
0
 def test_success(self):
     self.assert_message(
         messages.NodeCommunicationErrorTimedOut(
             "node-1",
             "/remote/command",
             "Connection timed out after 60049 milliseconds",
         ),
         ("node-1: Connection timeout, check if pcsd is running there or "
          "try setting higher timeout with --request-timeout option "
          "(Connection timed out after 60049 milliseconds)"),
     )
Exemple #2
0
 def test_success(self):
     self.assert_message(
         messages.NodeCommunicationErrorTimedOut(
             "node-1",
             "/remote/command",
             "Connection timed out after 60049 milliseconds",
         ),
         ("node-1: Connection timeout, try setting higher timeout in "
          "--request-timeout option (Connection timed out after 60049 "
          "milliseconds)"),
     )