Haxl/tests
Dylan Yudaken fe44803c40 supoprt classifying exceptions as ignored for stats (#129)
Summary:
Pull Request resolved: https://github.com/facebook/Haxl/pull/129

Some datasources will throw exceptions but this does not indicate a problem with the datasource itself. This can make the statistics difficult to use to track actual problems versus problems with the way the datasource is used.
Here we allow the datasource to classify some failures to be ignored by the stats collection. They are not simply ignored however - but stored in a new field `fetchIgnoredFailures`

Reviewed By: josefs

Differential Revision: D23475953

fbshipit-source-id: a35ee0fc44ae98db86ae56573f5e7462e0355709
2020-09-10 03:19:22 -07:00
..
AdoTests.hs get rid of num_rounds 2018-07-25 09:21:34 -07:00
AllTests.hs Add test for Async exceptions 2020-07-15 04:39:37 -07: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
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 Track fetches/memos accurately in profiling (#120) 2020-04-24 08:02:53 -07: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 haxl core tests 2019-04-10 09:48:57 -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