Haxl/tests
Aditya Buridi 769213ea57 Adds schedulerHint tests for DataSource (#136)
Summary:
Pull Request resolved: https://github.com/facebook/Haxl/pull/136

Adds unit test for schedulerHint in DataSource. Currently tests the TryToBatch and SubmitImmediately modes. Tests fail if
. Batch size is not equal to the no of requests in `TryToBatch` mode
. More than one request is submitted in `SubmitImmediately` mode.

Reviewed By: DylanZA

Differential Revision: D24922114

fbshipit-source-id: f786b93e9e0b7c7c731ede5fc54780d9e1b87432
2020-11-16 08:14:20 -08:00
..
AdoTests.hs get rid of num_rounds 2018-07-25 09:21:34 -07:00
AllTests.hs Adds schedulerHint tests for DataSource (#136) 2020-11-16 08:14:20 -08:00
BadDataSource.hs add backgroundFetchSeq and backgroundFetchPar (#116) 2020-03-03 09:40:29 -08:00
BatchTests.hs Track fetches/memos accurately in profiling (#120) 2020-04-24 08:02:53 -07:00
Bench.hs Switch to use BasicHashTable for Haxl DataCache 2020-01-10 14:37:38 -08:00
CoreTests.hs Add writes to IORef in Env 2019-04-10 09:48:57 -07:00
DataCacheTest.hs Switch to use BasicHashTable for Haxl DataCache 2020-01-10 14:37:38 -08:00
DataSourceDispatchTests.hs Adds schedulerHint tests for DataSource (#136) 2020-11-16 08:14:20 -08:00
ExampleDataSource.hs supoprt classifying exceptions as ignored for stats (#129) 2020-09-10 03:19:22 -07:00
FBMain.hs Haxl 2 2017-10-03 00:28:54 -07:00
FullyAsyncTest.hs Expose andThen to perform computations sequentially 2019-07-26 13:56:05 -07:00
LoadCache.hs Change license to plain BSD3 2017-12-08 04:33:35 -08:00
LoadCache.txt Add writes to IORef in Env 2019-04-10 09:48:57 -07:00
MemoizationTests.hs move minimum supported version to GHC 8.2 2020-01-10 01:32:54 -08:00
MockTAO.hs Remove FutureFetch from Haxl (#109) 2020-01-16 08:40:22 -08:00
MonadAsyncTest.hs Add test for Async exceptions 2020-07-15 04:39:37 -07:00
MonadBench.hs clean up monadbench a bit (#118) 2020-04-24 08:02:52 -07:00
OutgoneFetchesTests.hs Remove mask in ConcurrentIO.hs (#126) 2020-07-09 10:18:33 -07:00
ParallelTests.hs Test that pOr has the right semantics in the presence of blocking 2020-03-31 08:20:24 -07:00
ProfileTests.hs Make profiling calculations strict within the profiling scope (#135) 2020-11-12 07:24:29 -08:00
SleepDataSource.hs Add correctness tests for outgone-fetches logging (#99) 2019-05-09 06:46:56 -07:00
StatsTests.hs supoprt classifying exceptions as ignored for stats (#129) 2020-09-10 03:19:22 -07:00
TestBadDataSource.hs add backgroundFetchSeq and backgroundFetchPar (#116) 2020-03-03 09:40:29 -08:00
TestExampleDataSource.hs Print data fetch round details (#112) 2020-01-27 03:33:46 -08:00
TestMain.hs Change license to plain BSD3 2017-12-08 04:33:35 -08:00
TestTypes.hs Fix haxl core tests 2019-04-10 09:48:57 -07:00
TestUtils.hs fix acocunting of label hits (#130) 2020-09-11 08:46:04 -07:00
WorkDataSource.hs Fix allocation counting when batching from child threads (#114) 2020-01-31 01:48:21 -08:00
WriteTests.hs move minimum supported version to GHC 8.2 2020-01-10 01:32:54 -08:00