aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-26 20:05:21 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-26 20:05:21 +1300
commit0999fa040f093c37d1e7759a3a61b4227c2a6175 (patch)
treed544a1f276ef277a1705018f84fb574763b91734
parentb0068d87ddf894fc2f7d2688bd4c4ad88c891a2e (diff)
downloadtraccar-server-0999fa040f093c37d1e7759a3a61b4227c2a6175.tar.gz
traccar-server-0999fa040f093c37d1e7759a3a61b4227c2a6175.tar.bz2
traccar-server-0999fa040f093c37d1e7759a3a61b4227c2a6175.zip
Run slow test only on CI server
-rw-r--r--test/org/traccar/protocol/At2000ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/At2000ProtocolDecoderTest.java b/test/org/traccar/protocol/At2000ProtocolDecoderTest.java
index 14c6920d0..e2b848b45 100644
--- a/test/org/traccar/protocol/At2000ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/At2000ProtocolDecoderTest.java
@@ -3,11 +3,15 @@ package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
+import static org.junit.Assume.assumeTrue;
+
public class At2000ProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
+ assumeTrue(Boolean.parseBoolean(System.getenv("CI")));
+
At2000ProtocolDecoder decoder = new At2000ProtocolDecoder(new At2000Protocol());
verifyNothing(decoder, binary(