You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2015/05/01 01:03:06 UTC

[jira] [Created] (AURORA-1301) Tests inheriting from AuroraClientCommandTest always pass

Bill Farner created AURORA-1301:
-----------------------------------

             Summary: Tests inheriting from AuroraClientCommandTest always pass
                 Key: AURORA-1301
                 URL: https://issues.apache.org/jira/browse/AURORA-1301
             Project: Aurora
          Issue Type: Bug
          Components: Client, Testing
            Reporter: Bill Farner
            Priority: Critical


The test case below should fail, but it always passes.

{noformat}
$ git diff
diff --git a/src/test/python/apache/aurora/client/cli/test_supdate.py b/src/test/python/apache/aurora/client/cli/test_supdate.py
index ccbcae6..e76681f 100644
--- a/src/test/python/apache/aurora/client/cli/test_supdate.py
+++ b/src/test/python/apache/aurora/client/cli/test_supdate.py
@@ -111,6 +111,9 @@ class TestStartUpdate(AuroraClientCommandTest):
     ]
     self.assert_lock_message(self._fake_context)
 
+  def test_always_passes(self):
+    assert 1 == 0
+
   def test_update_cron_job_fails(self):
     mock_config = self.create_mock_config(is_cron=True)
     self._fake_context.get_job_config = Mock(return_value=mock_config)
{noformat}

{noformat}
$ ./pants test.pytest --no-fast --options='-v' src/test/python/apache/aurora/client/cli:supdate | tail -n1
               SUCCESS
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)