Skip to content

Commit

Permalink
Fix a test failure by force flushing, fixes #156
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpo committed Sep 5, 2024
1 parent 6af9e20 commit c75dd55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tmetrics_sdk.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function testOtlpFileExporter(testCase)
ct.add(val);

% fetch result
forceFlush(p);
clear("ct", "mt", "p");
results = jsondecode(fileread(alias));

Expand Down Expand Up @@ -539,4 +540,4 @@ function testCleanupApi(testCase)
verifyEmpty(testCase, results);
end
end
end
end

0 comments on commit c75dd55

Please sign in to comment.