We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12f2fe9 + d635665 commit 616f74bCopy full SHA for 616f74b
src/test/unit_tests/test_nc_health.js
@@ -240,7 +240,9 @@ mocha.describe('nsfs nc health', function() {
240
const health_status = await Health.nc_nsfs_health();
241
Health.notif_storage_limit = false;
242
243
- assert.strictEqual(health_status.checks.notif_storage_threshold_details.result, 'above threshold');
+ console.log("PSA fs stats =", fs.statfsSync(config.NOTIFICATION_LOG_DIR));
244
+
245
+ assert(health_status.checks.notif_storage_threshold_details.result.indexOf(' threshold') > -1);
246
assert.strictEqual(health_status.checks.notif_storage_threshold_details.threshold, config.NOTIFICATION_SPACE_CHECK_THRESHOLD);
247
});
248
0 commit comments