refresh test: ttl,etc...

This commit is contained in:
free will committed 2021-03-31 10:44:47 +08:00
1 parent dc060c2fc2
commit fafde2b015
14 files changed
+307 -347

No files matched your search

@@ -23,7 +23,7 @@ public class CongestionMarkTest {
public void TestCongestionMark_GetCongestionLevel() {
CongestionMark congestionMark = new CongestionMark();
System.out.println("interest:"+congestionMark.getCongestionLevel());
congestionMark.setCongestionLevel(1248355635356896986L);
congestionMark.setCongestionLevel(Long.MAX_VALUE);
System.out.println("interest:"+congestionMark.getCongestionLevel());
System.out.println("interest:"+congestionMark.isInitial());
}
@@ -32,7 +32,7 @@ public class CongestionMarkTest {
public void TestCongestionMark_WireEncode() throws EncoderException, ComponentException, BlockException {
CongestionMark congestionMark = new CongestionMark();
System.out.println("interest:"+congestionMark.getCongestionLevel());
congestionMark.setCongestionLevel(1248355635356896986L);
congestionMark.setCongestionLevel(Long.MAX_VALUE);
System.out.println("interest:"+congestionMark.getCongestionLevel());
System.out.println("interest:"+congestionMark.isInitial());
@@ -49,7 +49,7 @@ public class CongestionMarkTest {
public void TestCongestionMark_WireDecode() throws EncoderException, ComponentException, BlockException, PacketException {
CongestionMark congestionMark = new CongestionMark();
System.out.println("interest:"+congestionMark.getCongestionLevel());
congestionMark.setCongestionLevel(1248355635356896986L);
congestionMark.setCongestionLevel(Long.MAX_VALUE);
System.out.println("interest:"+congestionMark.getCongestionLevel());
System.out.println("interest:"+congestionMark.isInitial());