mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
Property: fix intermittent test failure.
The reduction in the cache flush threshold in #10408 caused the stochastic test to fail with noticeable probability. Revert that part of the change. Also add a comment to help avoid this in future. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10505)
This commit is contained in:
parent
23f3993127
commit
e5ecfcc788
@ -21,8 +21,12 @@
|
||||
#include "crypto/sparse_array.h"
|
||||
#include "property_local.h"
|
||||
|
||||
/* The number of elements in the query cache before we initiate a flush */
|
||||
#define IMPL_CACHE_FLUSH_THRESHOLD 50
|
||||
/*
|
||||
* The number of elements in the query cache before we initiate a flush.
|
||||
* If reducing this, also ensure the stochastic test in test/property_test.c
|
||||
* isn't likely to fail.
|
||||
*/
|
||||
#define IMPL_CACHE_FLUSH_THRESHOLD 500
|
||||
|
||||
typedef struct {
|
||||
void *method;
|
||||
|
Loading…
Reference in New Issue
Block a user