Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-33784

[Bonfire] - Tests are apparently passing but they should fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Bonfire
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      The tests logs show multiple errors like the one shown in this snippet:

       

      PASSED
      293tests/test_bonfire.py::test_ns_reserve_flag_duration[30m] ERROR: namespace reserve: hit unexpected error: Object of type MagicMock is not JSON serializable
      294
      295

      I think there's a problem with how tests are configured, there's something wrong in the setup and the tests shouldn't pass but they actually do. This needs urgent review, tests can give a false sense of confidence if they're apparently "passing"

            Unassigned Unassigned
            vmugicag Victor Manuel Múgica Gómez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: