Tests fail when multiple instances run at the same time

Steps to reproduce

Steps to reproduce:
1. Start an Opencast instance
2. Build a seperate Opencast

Actual Results:
module tests for matterhorn-kernel may fail with for example:
TrustedHttpClientResourceClosingTest.testResourceClosing:61->startServer:71 » Bind

Expected Results:
Tests should not be influenced by running instances

For Testing a instance should start with a non standard and free port and use generated names for temporary files.

Activity

Show:
Michael Stypa
September 7, 2015, 1:36 PM

This happens for example when two instances try to bind to the same port or when two instances write to the same temp file simultaneously.

Assignee

Unassigned

Reporter

Michael Stypa

Severity

Build Error

Tags (folksonomy)

None

Components

Affects versions

Priority

Minor
Configure