From 3b59d9b1df2077d07849800d089c4bd80d811c62 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 22 Dec 2023 16:18:39 -0700 Subject: [PATCH] decrease variant depth for memory usage --- .../arbitraries/candid/constructed/variant_arb/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/property_tests/arbitraries/candid/constructed/variant_arb/index.ts b/property_tests/arbitraries/candid/constructed/variant_arb/index.ts index 2f62bc2922..7f24f3ee2e 100644 --- a/property_tests/arbitraries/candid/constructed/variant_arb/index.ts +++ b/property_tests/arbitraries/candid/constructed/variant_arb/index.ts @@ -15,7 +15,7 @@ export type Variant = { export function VariantArb(): fc.Arbitrary> { return CandidValueAndMetaArbGenerator( VariantDefinitionArb(candidDefinitionMemo, [], { - n: DEFAULT_DEF_MAX_DEPTH + n: DEFAULT_DEF_MAX_DEPTH - 1 }), VariantValuesArb );