Skip to content

Commit

Permalink
Fix test more failures from chapel-lang#24346 (chapel-lang#24482)
Browse files Browse the repository at this point in the history
Fix some test failures caused by chapel-lang#24346, not caught in previous PR.

[ trivial - not reviewed ]
  • Loading branch information
jeremiah-corrado authored Feb 22, 2024
2 parents a667b25 + d14cdcf commit cc53a0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/library/packages/HDFS/hello-hadoop.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ proc main() {
var msg = "This is a test\n";
{
var f = fs.open(path, ioMode.cw);
var w = f.writer();
var w = f.writer(locking=false);
w.write(msg);
w.close();
f.close();
}

{
var f = fs.open(path, ioMode.r);
var r = f.reader();
var r = f.reader(locking=false);
var s:string;
r.readLine(s);
assert(s == msg);
Expand Down
2 changes: 1 addition & 1 deletion tools/mason/MasonSystem.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ proc printPkgPc(args) throws {
//
var pcDir = "".join(getPkgVariable(pkgName, "--variable=pcfiledir").these()).strip();
var pcFile = joinPath(pcDir, pkgName + ".pc");
var pc = openReader(pcFile);
var pc = openReader(pcFile, locking=false);
writeln("\n------- " + pkgName + ".pc -------\n");
for line in pc.lines() {
write(line);
Expand Down

0 comments on commit cc53a0e

Please sign in to comment.