File tree 1 file changed +4
-1
lines changed
adapters/ion-adapter/src/test/java/com/connexta/replication/adapters/ion
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 35
35
import java .io .InterruptedIOException ;
36
36
import java .net .URI ;
37
37
import java .net .URL ;
38
+ import org .codice .junit .ClearInterruptions ;
39
+ import org .codice .junit .rules .MethodRuleAnnotationProcessor ;
38
40
import org .hamcrest .Matchers ;
39
41
import org .junit .Before ;
40
42
import org .junit .Rule ;
52
54
import org .springframework .web .client .RestTemplate ;
53
55
54
56
public class IonNodeAdapterTest {
55
-
56
57
@ Rule public ExpectedException thrown = ExpectedException .none ();
58
+ @ Rule public final MethodRuleAnnotationProcessor processor = new MethodRuleAnnotationProcessor ();
57
59
58
60
RestTemplate restTemplate ;
59
61
@@ -148,6 +150,7 @@ public void createResourceFailed401() {
148
150
}
149
151
150
152
@ Test
153
+ @ ClearInterruptions
151
154
public void createResourceInterrupted () {
152
155
thrown .expect (AdapterInterruptedException .class );
153
156
You can’t perform that action at this time.
0 commit comments