We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b7fe78 commit fd75a40Copy full SHA for fd75a40
test/parallel/test-fs-utimes.js
@@ -171,7 +171,7 @@ if (!process.arch.includes('arm') &&
171
// CentOS and probably others will use non_Y2K38_max on file systems that do
172
// not support Y2K38. We do not see that on CI, but users do see it when
173
// running tests locally. Refs: https://github.com/nodejs/node/issues/36591
174
- if (mtimeStamp !== Y2K38_mtime && mtimeStamp !== Y2K38_mtime - 1) {
+ if (mtimeStamp !== Y2K38_mtime && mtimeStamp !== non_Y2K38_max) {
175
assert.fail(`${mtimeStamp} unexpected`);
176
}
177
0 commit comments