Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert hiding mocking behind test_utils feature flag #729

Merged
merged 1 commit into from Jan 11, 2023

Conversation

mirgee
Copy link
Contributor

@mirgee mirgee commented Jan 11, 2023

Currently, our tests rely on test_utils feature flag indicating whether MessageId should be generated randomly or mock value testid should be used. Without other changes, setting test_utils feature flag without running in test mode causes MessageIds to have the same value, which is undesirable. For now, mocking should be exposed without feature flags and work should be done to exclude static mockdata from release builds.

Signed-off-by: Miroslav Kovar miroslav.kovar@absa.africa

Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
@mirgee mirgee added hotfix High priority fixes of unexpected issues tests labels Jan 11, 2023
@Patrik-Stas Patrik-Stas merged commit 9f19eb6 into main Jan 11, 2023
@Patrik-Stas Patrik-Stas deleted the revert/hide-mocking-behind-test-utils branch January 11, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix High priority fixes of unexpected issues tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants