Skip to content

test: disable system alerts only if option exists - #553

Merged
patapenka-alexey merged 1 commit into
tarantool:masterfrom
Totktonada:disable-system-alerts-only-if-option-exists
Aug 27, 2026
Merged

patapenka-alexey merged 1 commit into
tarantool:masterfrom
Totktonada:disable-system-alerts-only-if-option-exists

Conversation

@Totktonada

Copy link
Copy Markdown
Contributor

This commit reimplements version-based check from PR #549 with a direct check of whether the given option (config.checks) exists. It gives a valid configuration for any tarantool 3.x version, including intermediate developer builds.

The motivation is that integration testing with metrics master fails in tarantool's CI, because the config.checks config option does not exist at the moment. While the feature that adds the option is under some discussion, let's just fix the CI.

Follows up PR #549
Related to tarantool/tarantool#12371

@patapenka-alexey patapenka-alexey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for the patch!

Comment thread test/tarantool/config_metrics_test.lua Outdated
Comment thread test/tarantool/config_metrics_test.lua Outdated
@Totktonada

Copy link
Copy Markdown
Contributor Author

@patapenka-alexey, @bigbes, @elhimov, I've updated the patch a bit to handle tarantool 2.x and early 3.x versions seamlessly. Please, take a look.

Comment thread test/tarantool/config_metrics_test.lua

@elhimov elhimov left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM except for one question

@patapenka-alexey

Copy link
Copy Markdown
Contributor

Please, rebase your branch against the updated master.

This commit reimplements version-based check from PR tarantool#549 with a direct
check of whether the given option (`config.checks`) exists. It gives a
valid configuration for any tarantool 3.x version, including
intermediate developer builds.

The motivation is that integration testing with metrics `master` fails
in tarantool's CI, because the `config.checks` config option does not
exist at the moment. While the feature that adds the option is under
some discussion, let's just fix the CI.

Follows up PR tarantool#549
Related to tarantool/tarantool#12371
@Totktonada
Totktonada force-pushed the disable-system-alerts-only-if-option-exists branch from 97d06c9 to 5873c03 Compare August 27, 2026 10:09
@Totktonada

Copy link
Copy Markdown
Contributor Author

Rebased on top of a fresh master.

@patapenka-alexey
patapenka-alexey merged commit b60e25a into tarantool:master Aug 27, 2026
19 checks passed
@Totktonada
Totktonada deleted the disable-system-alerts-only-if-option-exists branch August 27, 2026 11:25
@patapenka-alexey patapenka-alexey mentioned this pull request Sep 2, 2026
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.

4 participants