Open
Description
There was, probably, a recent change in influxdb since one of the litmus update buckets tests started failing. Before, the update was successful. influxdb@master a1ed6e3
If it is a change in functionality, please let me know and I will update the test.
- Create an org:
requests.post('http://localhost:9999/api/v2/orgs', data {"name":"test_org_name_already_exists","status:":"active"}
- create a bucket for the above org:
requests.post('http://localhost:9999/api/v2/buckets, data={"name":"test_bucket_name_already_exists", "retentionRules": [{"type":"expire","everySeconds":3600}], "organizationID": "03828e1d49a26000"})
- update created bucket with the same name:
requests.post('http://localhost:9999/api/v2/buckets/03828e1d4b226000, data={"name":"test_bucket_name_already_exists", "retentionRules": [{"type":"expire","everySeconds":3600}]})
- Request will return an error:
{
"message": "bucket name is not unique",
"code": "conflict"
}