Skip to content
Snippets Groups Projects
Commit a432ffea authored by Brutzman, Don's avatar Brutzman, Don
Browse files

fix imports, document intermittent project failure via TODO_WARNING

parent e7b02bdf
No related branches found
No related tags found
No related merge requests found
......@@ -4,17 +4,9 @@
*/
package edu.nps.moves.dis7;
import edu.nps.moves.dis7.entities.usa.munition.other.M1A2;
import edu.nps.moves.dis7.enumerations.Country;
import edu.nps.moves.dis7.enumerations.EntityKind;
import edu.nps.moves.dis7.utilities.PduFactory;
import edu.nps.moves.dis7.enumerations.PlatformDomain;
import edu.nps.moves.dis7.pdus.Domain;
import edu.nps.moves.dis7.pdus.EntityID;
import edu.nps.moves.dis7.pdus.FirePdu;
import edu.nps.moves.dis7.pdus.EntityType;
import edu.nps.moves.dis7.pdus.Pdu;
import edu.nps.moves.dis7.pdus.PduBase;
import org.junit.jupiter.api.*;
import static org.junit.jupiter.api.Assertions.*;
......@@ -43,8 +35,11 @@ public class FirePduTest extends PduTest
@Override
protected void testOnePdu(Pdu newPdu)
{
String TODO_WARNING = " (test works standalone but mysteriously fails as part of project test suite)";
sendPdu(newPdu); // will wait a while
assertTrue(receivedPdu != null, "No response from network receive after " + getThreadSleepInterval() + " msec");
assertTrue(receivedPdu != null, "No response from network receive after " + getThreadSleepInterval() + " msec"
+ TODO_WARNING);
testPduHeaderMatch(newPdu);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment