From f6c74c5e8c7e0d5be3e86f0ff30bb19e6d8431ac Mon Sep 17 00:00:00 2001 From: bspeice Date: Sun, 20 Oct 2013 17:57:06 -0400 Subject: [PATCH] Document an assumption in the test better --- src/com/uncc/gameday/parking/test/ParkingClientTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/uncc/gameday/parking/test/ParkingClientTest.java b/src/com/uncc/gameday/parking/test/ParkingClientTest.java index 5eb3af9..cb4291a 100644 --- a/src/com/uncc/gameday/parking/test/ParkingClientTest.java +++ b/src/com/uncc/gameday/parking/test/ParkingClientTest.java @@ -70,7 +70,8 @@ public class ParkingClientTest extends AndroidTestCase{ // While the lot should be full (100%) the unit test POST goes too fast // for Retrofit to keep up (or server, tbh not sure which) - // As long as the pct > 0, some of our POSTs have made it. + // We are making an assumption here that in production we won't have such + // rapid-fire usage. assertTrue((lot.getFilledPct() > 0)); } }