mirror of
https://github.com/bspeice/UNCCGameDay-Test
synced 2024-11-21 15:38:15 -05:00
Document an assumption in the test better
This commit is contained in:
parent
600f0c1229
commit
f6c74c5e8c
@ -70,7 +70,8 @@ public class ParkingClientTest extends AndroidTestCase{
|
|||||||
|
|
||||||
// While the lot should be full (100%) the unit test POST goes too fast
|
// 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)
|
// 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));
|
assertTrue((lot.getFilledPct() > 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user