diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-26 20:05:21 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-26 20:05:21 +1300 |
commit | 0999fa040f093c37d1e7759a3a61b4227c2a6175 (patch) | |
tree | d544a1f276ef277a1705018f84fb574763b91734 /test | |
parent | b0068d87ddf894fc2f7d2688bd4c4ad88c891a2e (diff) | |
download | traccar-server-0999fa040f093c37d1e7759a3a61b4227c2a6175.tar.gz traccar-server-0999fa040f093c37d1e7759a3a61b4227c2a6175.tar.bz2 traccar-server-0999fa040f093c37d1e7759a3a61b4227c2a6175.zip |
Run slow test only on CI server
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/At2000ProtocolDecoderTest.java | 4 |
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( |