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.
1 parent 418bb3b commit 8ba55a8Copy full SHA for 8ba55a8
src/test/integration_tests/nc/cli/test_nc_health.js
@@ -246,7 +246,9 @@ mocha.describe('nsfs nc health', function() {
246
const health_status = await Health.nc_nsfs_health();
247
Health.notif_storage_limit = false;
248
249
- assert.strictEqual(health_status.checks.notif_storage_threshold_details.result, 'above threshold');
+ console.log("PSA fs stats =", fs.statfsSync(config.NOTIFICATION_LOG_DIR));
250
+
251
+ assert(health_status.checks.notif_storage_threshold_details.result.indexOf(' threshold') > -1);
252
assert.strictEqual(health_status.checks.notif_storage_threshold_details.threshold, config.NOTIFICATION_SPACE_CHECK_THRESHOLD);
253
});
254
0 commit comments