13 lines
339 B
JavaScript
13 lines
339 B
JavaScript
import {runReadOnlyTest} from "jstests/readonly/lib/read_only_test.js";
|
|
|
|
runReadOnlyTest(function() {
|
|
return {
|
|
name: 'server_status',
|
|
|
|
load: function(writableCollection) {},
|
|
exec: function(readableCollection) {
|
|
assert.commandWorked(readableCollection.getDB().serverStatus());
|
|
}
|
|
};
|
|
}());
|