Skip to content

Commit

Permalink
Adding a warning which greatly improves efficiency in investigation o…
Browse files Browse the repository at this point in the history
…f failures resulting from

"automatic truncation of long entity names involved in a test, with a potential clash on resulting abbreviations".
  • Loading branch information
jsimlo authored and badgerwithagun committed Mar 14, 2018
1 parent c2ccb99 commit f2d9ed9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ public void difference(String message) {
}
};

if (requiredTable.getName().length() > 27) {
log.warn("Required table name [" + requiredTable.getName() + "] is [" + requiredTable.getName().length() + "] characters long!");
}

// if we have an existing table, check it's identical
Table existingTable = getTable(producerCache, requiredTable.getName());
if (existingTable != null) {
Expand Down

0 comments on commit f2d9ed9

Please sign in to comment.