mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
15 lines
334 B
JavaScript
15 lines
334 B
JavaScript
load('jstests/readonly/lib/read_only_test.js');
|
|
|
|
runReadOnlyTest(function() {
|
|
'use strict';
|
|
|
|
return {
|
|
name: 'server_status',
|
|
|
|
load: function(writableCollection) {},
|
|
exec: function(readableCollection) {
|
|
assert.commandWorked(readableCollection.getDB().serverStatus());
|
|
}
|
|
};
|
|
}());
|