1

I am using JDBCStateRepository with oracle database. During application startup, togglz disables all features (changes all FEATURE_ENABLED to 0 in database) for all features that don't have @EnabledByDefault.

How can I disable this behavior?

Thanks

  • That's not the expected behavior. Could you include you dependencies and configuration? – chkal Feb 01 '18 at 05:42
  • 1
    Turns out it's only happening during Test. TogglzTestExecutionListener.beforeTestMethod is changing database column based on Feature enum. This is not big deal since I will be using another table for unit test. – prabesh dahal Feb 01 '18 at 17:45
  • In unit test there is actually a dummy FeatureManager, which shouldn't use a real state repository. Looks like there is something weird with you test setup. – chkal Feb 04 '18 at 21:38

0 Answers0