summaryrefslogtreecommitdiff
path: root/jstests/readonly/server_status.js
blob: 207b5b48dfddd7b528cc0b86005af35637facf4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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());
        }
    };
}());