 It seems that --elasticsearch-version is not use.
cls._delete_document(TEST_DOC_ID)
        
        es_client = aws_stack.connect_to_service('es')
        es_client.delete_elasticsearch_domain(DomainName=TEST_DOMAIN_NAME)
        assert_not_in(TEST_DOMAIN_NAME,
            [d['DomainName'] for d in es_client.list_domain_names()['DomainNames']])
    def test_domain_creation(self):
        es_client = aws_stack.connect_to_service('es')
        
        self.assertRaises(ClientError, es_client.create_elasticsearch_domain, DomainName=TEST_DOMAIN_NAME)
        
        status = es_client.describe_elasticsearch_domain(DomainName=TEST_DOMAIN_NAME)
        self.assertEqual(status['DomainStatus']['DomainName'], TEST_DOMAIN_NAME)
        self.assertTrue(status['DomainStatus']['Created'])
        self.assertFalse(status['DomainStatus']['Processing'])
        self.assertFalse(status['DomainStatus']['Deleted'])
        self.assertEqual(status['DomainStatus']['Endpoint'], aws_stack.get_elasticsearch_endpoint())
        self.assertTrue(status['DomainStatus']['EBSOptions']['EBSEnabled'])
        
        response = es_client.add_tags(ARN='string', TagList=[{'Key': 'SOME_TAG', 'Value': 'SOME_VALUE'}])
        self.assertEqual(response['ResponseMetadata']['HTTPStatusCode'], 200)
    def test_elasticsearch_get_document(self):