Commit c26ba3940914d2d2d1b7e1a492fca2d3c652b8bb

Authored by Paulo Graça
1 parent 123f3dc348
Exists in tests

Insert catch for threads expections

ptcrisync-test/src/main/java/pt/ptcris/test/PerformanceTest.java
... ... @@ -209,6 +209,10 @@ public class PerformanceTest {
209 209 } catch (AssertionError e) {
210 210 testResult = false;
211 211 _log.error("[importTimetoOrcid] " + e.getMessage());
  212 + } catch (InterruptedException ie) {
  213 + testResult = false;
  214 + _log.error("[exportTimetoOrcid] Thread Exception");
  215 + ie.printStackTrace();
212 216 } catch (Exception e) {
213 217 e.printStackTrace();
214 218 } finally {
... ...