Skip to content
This repository
Browse code

Fixes compile error in test

  • Loading branch information...
commit 311fb3e172d58e716c2b70327b7c4f4540cf06be 1 parent d6d1ee5
Andy Schlaikjer authored
5  common/src/test/java/com/twitter/ambrose/service/impl/InMemoryStatsServiceTest.java
@@ -19,6 +19,7 @@
19 19
 import org.junit.Before;
20 20
 import org.junit.Test;
21 21
 
  22
+import java.io.IOException;
22 23
 import java.util.Collection;
23 24
 import java.util.Iterator;
24 25
 
@@ -46,7 +47,7 @@ public void setup() {
46 47
   }
47 48
 
48 49
   @Test
49  
-  public void testGetAllEvents() {
  50
+  public void testGetAllEvents() throws IOException {
50 51
     for(WorkflowEvent event : testEvents) {
51 52
       service.pushEvent(workflowId, event);
52 53
     }
@@ -62,7 +63,7 @@ public void testGetAllEvents() {
62 63
   }
63 64
 
64 65
   @Test
65  
-  public void testGetEventsSince() {
  66
+  public void testGetEventsSince() throws IOException {
66 67
     for(WorkflowEvent event : testEvents) {
67 68
       service.pushEvent(workflowId, event);
68 69
     }

0 notes on commit 311fb3e

Please sign in to comment.
Something went wrong with that request. Please try again.