Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1471

[test] When string comparison asserts fail the strings are not printed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.10.0
    • Tests
    • None

    Description

      Tests fail in CI environments far away. Accessing a system identical to the CI system for development work is a problem. Here is a CI failure:

      File "/opt/interconnect-src/tests/system_tests_topology_disposition.py",
              line 459, in test_04_scraper_tool
      self.assertEqual ( None, error )
      AssertionError: None != 'Process 7713 error: exit code 126, expec[311 chars]<<<<<'

      The test is trying to print the error message. Instead the message is truncated and the hint [311 chars] is shown. It would be really useful to show those 311 chars.

      Attachments

        Issue Links

          Activity

            People

              chug Charles E. Rolke
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: