From 0999fa040f093c37d1e7759a3a61b4227c2a6175 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 26 Nov 2016 20:05:21 +1300 Subject: Run slow test only on CI server --- test/org/traccar/protocol/At2000ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/org/traccar') 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( -- cgit v1.2.3