From f80bb7698cdb8658c68a0bdf19061cbce12929aa Mon Sep 17 00:00:00 2001 From: Chirag Dewan Date: Sun, 3 Nov 2019 10:39:05 +0530 Subject: [PATCH] BAEL3236 throwing Exception in TCs --- .../baeldung/execution/time/SampleExecutionTimeUnitTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing-modules/junit-5/src/test/java/com/baeldung/execution/time/SampleExecutionTimeUnitTest.java b/testing-modules/junit-5/src/test/java/com/baeldung/execution/time/SampleExecutionTimeUnitTest.java index 8090085cb3..7d43d1a560 100644 --- a/testing-modules/junit-5/src/test/java/com/baeldung/execution/time/SampleExecutionTimeUnitTest.java +++ b/testing-modules/junit-5/src/test/java/com/baeldung/execution/time/SampleExecutionTimeUnitTest.java @@ -14,7 +14,7 @@ class SampleExecutionTimeUnitTest { } // @Test -// void someIntegrationTest() throws InterruptedException { +// void someIntegrationTest() throws Exception { // // //simulate an operation that may take 5 seconds // Thread.sleep(5000); @@ -23,7 +23,7 @@ class SampleExecutionTimeUnitTest { // } // // @Test -// void someEndToEndTest() throws InterruptedException { +// void someEndToEndTest() throws Exception { // // //simulate an operation that may take 10 seconds // Thread.sleep(10000);