Skip to content

Commit 05bcca9

Browse files
committed
build in a container on Linux to preserve backward compatibility
1 parent 0bf01bb commit 05bcca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/commonSetupOnce.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function commonSetupOnce(testCase)
3939
testCase.Sigterm = @(id)"taskkill /F /pid " + id;
4040
elseif isunix && ~ismac
4141
testCase.ListPid = @(name)"ps -C " + name;
42-
testCase.ReadPidList = @readtable;
42+
testCase.ReadPidList = @(file)readtable(file, "ReadVariableNames", true, "VariableNamesLine", 1);
4343
testCase.ExtractPid = @(table)table.PID;
4444
testCase.Sigint = @(id)"kill " + id; % kill sends a SIGTERM instead of SIGINT but turns out this is sufficient to terminate OTEL collector on Linux
4545
testCase.Sigterm = @(id)"kill " + id;

0 commit comments

Comments
 (0)