

def test_service(self):
    '\n        Asserts service config output with heading, header & parameters.\n        ToDo: test for values as well\n        '
    exp_heading = '~~Service Configuration~~'
    exp_header = 'NODE'
    exp_params = ['allow-inline-transactions', 'batch-max-requests', 'batch-priority', 'batch-threads', 'fabric-workers', 'info-threads', 'ldt-benchmarks', 'max-msgs-per-type', 'memory-accounting', 'microbenchmarks', 'migrate-max-num-incoming', 'migrate-rx-lifetime-ms', 'migrate-threads', 'nsup-delete-sleep', 'nsup-period', 'nsup-startup-evict', 'paxos-max-cluster-size', 'paxos-protocol', 'paxos-recovery-policy', 'paxos-retransmit-period', 'paxos-single-replica-limit', 'prole-extra-ttl', 'proto-fd-idle-ms', 'proto-fd-max', 'proto-slow-netio-sleep-ms', 'query-batch-size', 'query-bufpool-size', 'query-in-transaction-thread', 'query-long-q-max-size', 'query-priority', 'query-rec-count-bound', 'query-req-in-query-thread', 'query-req-max-inflight', 'query-short-q-max-size', 'query-threads', 'query-threshold', 'query-worker-threads', 'replication-fire-and-forget', 'respond-client-on-master-completion', 'service-threads', 'sindex-data-max-memory', 'snub-nodes', 'storage-benchmarks', 'ticker-interval', 'transaction-duplicate-threads', 'transaction-max-ms', 'transaction-pending-limit', 'transaction-queues', 'transaction-repeatable-read', 'transaction-retry-ms', 'transaction-threads-per-queue', 'udf-runtime-gmax-memory', 'udf-runtime-max-memory', 'use-queue-per-device', 'write-duplicate-resolution-disable']
    (actual_heading, actual_header, actual_params) = test_util.parse_output(TestShowConfig.service_config)
    self.assertTrue((exp_heading in actual_heading))
    self.assertTrue((exp_header in actual_header))
    self.assertTrue(set(exp_params).issubset(set(actual_params)))

dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py TestShowConfig.test_service/original