Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9370

Tests race condition triggers error “Couldn't connect to the renderer”

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2018-01-10
    • Component/s: Scripts
    • Labels:
      None

      Description

      There is a race condition in tests run by prove from Test::Harness.

      Steps to reproduce (inconsistently):

      Run the following command two times in a row:

      prove -l t/tests.t :: --tests 'User::Edit'

      The second time, both tests should fail with:

      Catalyst error screen: Caught exception in MusicBrainz::Server::View::Default->process "Couldn't connect to the renderer. at /musicbrainz-server/lib/MusicBrainz/Server/View/Base.pm line 36."

      Workaround:

      Delete socket file /tmp/musicbrainz-server.socket.

        Attachments

          Activity

            People

            • Assignee:
              bitmap Michael Wiencek
              Reporter:
              yvanzo yvanzo
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: