From 59461c9d134216fb4326d048e40898f98ad0e3c8 Mon Sep 17 00:00:00 2001 From: Han Xu Date: Wed, 17 Apr 2019 17:15:54 -0700 Subject: [PATCH] Clear system property at the end of test. The current test is passing, but still I think it's better to clear the system property it sets. --- src/test/java/org/ice4j/stack/ShallowStackTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/org/ice4j/stack/ShallowStackTest.java b/src/test/java/org/ice4j/stack/ShallowStackTest.java index ad1038d..254d3ac 100644 --- a/src/test/java/org/ice4j/stack/ShallowStackTest.java +++ b/src/test/java/org/ice4j/stack/ShallowStackTest.java @@ -371,6 +371,8 @@ public class ShallowStackTest extends TestCase // verify the retransmission is longer than the originalWait long secondTime = System.currentTimeMillis(); assertTrue((secondTime - firstTime) >= originalWait); + + System.clearProperty(StackProperties.FIRST_CTRAN_RETRANS_AFTER); } //--------------------------------------- listener implementations ---------