Skip to content

Commit 0619eda

Browse files
committed
fix failing fw_support unit tests
Re-set NRINI(force_framework) for next round of tests - its value is preserved between test runs.
1 parent 9df6ec1 commit 0619eda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agent/tests/test_fw_support.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ static void test_fw_supportability_metrics_with_vm_enabled(void) {
152152
.source_priority = NR_PHP_PACKAGE_SOURCE_COMPOSER};
153153
txn->unscoped_metrics = nrm_table_create(10);
154154

155+
NRINI(force_framework) = false;
155156
nr_fw_support_add_package_supportability_metric(
156157
txn, LIBRARY_NAME, LIBRARY_MAJOR_VERSION, &php_package);
157158
tlib_pass_if_not_null(

0 commit comments

Comments
 (0)