Skip to content

Commit

Permalink
fix failing fw_support unit tests
Browse files Browse the repository at this point in the history
Re-set NRINI(force_framework) for next round of tests - its value is preserved
between test runs.
  • Loading branch information
lavarou committed Sep 19, 2024
1 parent 9df6ec1 commit 0619eda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/tests/test_fw_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ static void test_fw_supportability_metrics_with_vm_enabled(void) {
.source_priority = NR_PHP_PACKAGE_SOURCE_COMPOSER};
txn->unscoped_metrics = nrm_table_create(10);

NRINI(force_framework) = false;
nr_fw_support_add_package_supportability_metric(
txn, LIBRARY_NAME, LIBRARY_MAJOR_VERSION, &php_package);
tlib_pass_if_not_null(
Expand Down

0 comments on commit 0619eda

Please sign in to comment.