Skip to content

Conversation

KShivendu
Copy link
Contributor

Summary of change

Fix EE tests

Checklist for important updates

  • Changelog has been updated
    • If there are any db schema changes, mention those changes clearly
  • coreDriverInterfaceSupported.json file has been updated (if needed)
  • pluginInterfaceSupported.json file has been updated (if needed)
  • Changes to the version if needed
    • In build.gradle
  • If added a new paid feature, edit the getPaidFeatureStats function in FeatureFlag.java file
  • Had installed and ran the pre-commit hook
  • If there are new dependencies that have been added in build.gradle, please make sure to add them
    in implementationDependencies.json.
  • Issue this PR against the latest non released version branch.
    • To know which one it is, run find the latest released tag (git tag) in the format vX.Y.Z, and then find the
      latest branch (git branch --all) whose X.Y is greater than the latest released tag.
    • If no such branch exists, then create one from the latest released branch.

@KShivendu KShivendu changed the title test: Fix EE tests test: Disable EE tests for NoSQL Mar 28, 2023
@KShivendu KShivendu changed the title test: Disable EE tests for NoSQL fix: Send MAU stats only when using SQL Mar 28, 2023
@KShivendu KShivendu changed the title fix: Send MAU stats only when using SQL fix: Send MAU stats only when using SQL databases Mar 28, 2023
EE_FEATURES[] features = getEnabledEEFeaturesFromDbOrCache();
ActiveUsersStorage activeUsersStorage = StorageLayer.getActiveUsersStorage(main);

ActiveUsersStorage activeUsersStorage = StorageLayer.getStorage(main).getType().toString().equals("SQL") ?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not the right way -> you need to do getType() == STORAGE_TYPE.SQL

@rishabhpoddar rishabhpoddar merged commit 6e95fdb into 4.5 Mar 28, 2023
@rishabhpoddar rishabhpoddar deleted the test/fix-ee-tests branch March 28, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants