@unittest.skip("Will enable only when xdr is configuired")
    def test_xdr(self):
        exp_heading = "~~XDR Statistics~~"
        exp_header = "NODE"
        exp_params = [  'cur_throughput',
                        'err_ship_client',
                        'err_ship_conflicts',
                        'err_ship_server',
                        'esmt-bytes-shipped',
                        'esmt-bytes-shipped-compression',
                        'esmt-ship-compression',
                        'free-dlog-pct',
                        'latency_avg_dlogread',
                        'latency_avg_dlogwrite',
                        'latency_avg_ship',
                        'local_recs_fetch_avg_latency',
                        'local_recs_fetched',
                        'local_recs_migration_retry',
                        'local_recs_notfound',
                        'noship_recs_dup_intrabatch',
                        'noship_recs_expired',
                        'noship_recs_genmismatch',
                        'noship_recs_notmaster',
                        'noship_recs_unknown_namespace',
                        'perdc_timediff_lastship_cur_secs',
                        'stat_dlog_fread',
                        'stat_dlog_fseek',
                        'stat_dlog_fwrite',
                        'stat_dlog_read',
                        'stat_dlog_write',
                        'stat_pipe_reads_diginfo',
                        'stat_recs_dropped',
                        'stat_recs_localprocessed',
                        'stat_recs_logged',
                        'stat_recs_outstanding',
                        'stat_recs_relogged',
                        'stat_recs_replprocessed',
                        'stat_recs_shipped',
                        'stat_recs_shipping',
                        'timediff_lastship_cur_secs',
                        'total-recs-dlog',
                        'used-recs-dlog',
                        'xdr-uptime',
                        'xdr_deletes_canceled',
                        'xdr_deletes_relogged',
                        'xdr_deletes_shipped',
                    ]
        actual_heading, actual_header, actual_params = test_util.parse_output(TestShowStatistics.xdr_stats)
        
        self.assertTrue(exp_heading in actual_heading)
        self.assertTrue(exp_header in actual_header)
        self.assertTrue(set(exp_params).issubset(set(actual_params)))
This test will assert <b> test Namespace Statistics </b> output for heading, header and parameters.
dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py/TestShowStatistics.test_xdr