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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2018-01-10
    • None
    • Scripts
    • None

      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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2018-01-10