Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
IMO, after scheduling, the outgoingElements must contain the shipment.
Browse files Browse the repository at this point in the history
  • Loading branch information
kt86 committed Aug 14, 2024
1 parent a0f4e18 commit caa9e38
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ public void testFirstReloadLSPScheduling() {
}
}
assertTrue(handledByTranshipmentHub);
//This asserts that the shipments waiting for handling have been handled and the queues have been cleared
assertFalse(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));

assertTrue(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertFalse(element.getIncomingShipments().getLspShipmentsWTime().contains(shipment));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ public void testFirstReloadLSPScheduling() {
}
}
assertTrue(handledByTranshipmentHub);
//This asserts that the shipments waiting for handling have been handled and the queues have been cleared
assertFalse(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));

assertTrue(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertFalse(element.getIncomingShipments().getLspShipmentsWTime().contains(shipment));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public void testSecondReloadLSPScheduling() {
}
assertTrue(handledByTranshipmentHub);

assertFalse(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertTrue(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertFalse(element.getIncomingShipments().getLspShipmentsWTime().contains(shipment));
}

Expand All @@ -406,7 +406,7 @@ public void testSecondReloadLSPScheduling() {
}
assertTrue(handledByTranshipmentHub);

assertFalse(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertTrue(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertFalse(element.getIncomingShipments().getLspShipmentsWTime().contains(shipment));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public void testSecondReloadLSPScheduling() {
}
assertTrue(handledByTranshipmentHub);

assertFalse(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertTrue(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertFalse(element.getIncomingShipments().getLspShipmentsWTime().contains(shipment));
}

Expand All @@ -406,7 +406,7 @@ public void testSecondReloadLSPScheduling() {
}
assertTrue(handledByTranshipmentHub);

assertFalse(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertTrue(element.getOutgoingShipments().getLspShipmentsWTime().contains(shipment));
assertFalse(element.getIncomingShipments().getLspShipmentsWTime().contains(shipment));
}

Expand Down

0 comments on commit caa9e38

Please sign in to comment.