diff --git a/api/app/settings/test.py b/api/app/settings/test.py index 72bd7920c906..5450b1dceaee 100644 --- a/api/app/settings/test.py +++ b/api/app/settings/test.py @@ -14,6 +14,11 @@ INSTALLED_APPS = INSTALLED_APPS + ["flagsmith_ldap"] LDAP_DEFAULT_FLAGSMITH_ORGANISATION_ID = None +# Otherwise rule and condition ordering is whatever the database returns. +# Can cause issues downstream when using other database engines. +SEGMENT_CONDITIONS_EXPLICIT_ORDERING_ENABLED = True +SEGMENT_RULES_EXPLICIT_ORDERING_ENABLED = True + # We dont want to track tests ENABLE_TELEMETRY = False MAX_PROJECTS_IN_FREE_PLAN = 10