Fix test insolation
This commit is contained in:
parent
3fd0b47b1c
commit
780f0dce3e
|
@ -8,6 +8,7 @@ import org.ethereum.net.p2p.P2pMessageCodes;
|
|||
import org.ethereum.net.shh.ShhHandler;
|
||||
import org.ethereum.net.shh.ShhMessageCodes;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
@ -26,6 +27,12 @@ public class AdaptiveMessageIdsTest {
|
|||
EthMessageCodes.setOffset((byte) 0x00);
|
||||
ShhMessageCodes.setOffset((byte) 0x00);
|
||||
}
|
||||
|
||||
@After
|
||||
public void tearDown() {
|
||||
EthMessageCodes.setOffset((byte) 0x00);
|
||||
ShhMessageCodes.setOffset((byte) 0x00);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test1() {
|
||||
|
|
Loading…
Reference in New Issue