mirror of https://github.com/mongodb/mongo
15 lines
384 B
JavaScript
15 lines
384 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());
|
|
},
|
|
};
|
|
})(),
|
|
);
|