Skip to content

Commit a99d800

Browse files
committed
Allow for dropping of the default retention policy
This no longer raises an error and simply results in no retention policy being set for the database.
1 parent 1bd84e6 commit a99d800

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

influxdb/tests/server_tests/client_test_with_server.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -604,16 +604,6 @@ def test_drop_retention_policy(self):
604604
rsp
605605
)
606606

607-
def test_drop_retention_policy_default(self):
608-
# Test drop default retention
609-
with self.assertRaises(InfluxDBClientError) as ctx:
610-
self.cli.drop_retention_policy('default', 'db')
611-
612-
self.assertEqual(400, ctx.exception.code)
613-
self.assertIn(
614-
'{"error":"error parsing query: found DEFAULT, expected POLICY',
615-
ctx.exception.content)
616-
617607
def test_issue_143(self):
618608
pt = partial(point, 'a_serie_name', timestamp='2015-03-30T16:16:37Z')
619609
pts = [

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy