diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/EntityValidationTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/EntityValidationTest.java index 6b46cbfa04cdd77ad8df1858443043d4fe9968fd..6070999e45b44b1037136bfcc724f9284d6acb15 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/EntityValidationTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/EntityValidationTest.java @@ -160,7 +160,12 @@ public class EntityValidationTest extends GenericSystemTestCase try { etlService.updateSample(systemSessionToken, update); - fail("update of sample with impossible to update type should fail"); + + Script script = + commonServer.getScriptInfo(systemSessionToken, new TechId(TEST_SCRIPT_ID)); + fail("update of sample with impossible to update type should fail. Validation script is:\n" + + script.getScript()); + } catch (Exception ufe) { assertTrue(ufe.getMessage(), ufe.getMessage().contains("Validation of sample"));