Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import static org.junit.Assert.assertTrue;

public class AttachmentMtomChunkingTest extends AbstractAttachmentChunkingTest {
private static final String PORT = allocatePort(DownloadServer.class);
private static final String PORT = allocatePort(AttachmentMtomChunkingTest.class);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great finding @gnodet , however I think we would have to address the cause:

  • allocatePort() sets two properties, with full class name, and simple class name
  • the conflict is apparently over simple class name

It would be beneficial to improve TestUtil to catch those conflicts (it can do it, properties are static), so the test suite fails to run and would need to be fixed. Wdyt?

private static final Logger LOG = LogUtils.getLogger(AttachmentMtomChunkingTest.class);

public static class DownloadServer extends AbstractBusTestServerBase {
Expand Down
Loading