From 2bc919286c82df10215fcfc9c491311fafaf826d Mon Sep 17 00:00:00 2001 From: Joe Politz Date: Fri, 11 Nov 2022 14:05:09 -0800 Subject: [PATCH] timeout example --- TestListExamples.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TestListExamples.java b/TestListExamples.java index 761f695..13a2632 100644 --- a/TestListExamples.java +++ b/TestListExamples.java @@ -2,5 +2,9 @@ import org.junit.*; public class TestListExamples { + @Test(timeout = 100) + public void testTimeout() { + while(true) {} + } // Write your grading tests here! }