Skip to content

Commit c75dd55

Browse files
committed
Fix a test failure by force flushing, fixes #156
1 parent 6af9e20 commit c75dd55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/tmetrics_sdk.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ function testOtlpFileExporter(testCase)
9595
ct.add(val);
9696

9797
% fetch result
98+
forceFlush(p);
9899
clear("ct", "mt", "p");
99100
results = jsondecode(fileread(alias));
100101

@@ -539,4 +540,4 @@ function testCleanupApi(testCase)
539540
verifyEmpty(testCase, results);
540541
end
541542
end
542-
end
543+
end

0 commit comments

Comments
 (0)