@unittest.skip("Will enable only when xdr is configuired")   
    def test_xdr(self):
        exp_heading = "~~XDR Configuration~~"
        exp_header = "NODE"
        exp_params = [  'enable-xdr',
                        'xdr-batch-num-retry',
                        'xdr-batch-retry-sleep',
                        'xdr-check-data-before-delete',
                        'xdr-compression-threshold',
                        'xdr-digestlog-size',
                        'xdr-forward-with-gencheck',
                        'xdr-hotkey-maxskip',
                        'xdr-info-timeout',
                        'xdr-local-port',
                        'xdr-max-recs-inflight',
                        'xdr-namedpipe-path',
                        'xdr-nw-timeout',
                        'xdr-read-mode',
                        'xdr-read-threads',
                        'xdr-ship-delay',
                        'xdr-shipping-enabled',
                        'xdr-timeout',
                        'xdr-write-batch-size'
                      ] 
        
        actual_heading, actual_header, actual_params = test_util.parse_output(TestShowConfig.xdr_config)        
       
        self.assertTrue(exp_heading in actual_heading)
        self.assertTrue(exp_header in actual_header)
        self.assertTrue(set(exp_params).issubset(set(actual_params)))
Asserts XDR config output with heading, header & parameters.
dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py/TestShowConfig.test_xdr