File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import logging
6
6
import socket
7
+ import uuid
7
8
from pathlib import Path
8
9
9
10
import boto3
@@ -63,17 +64,21 @@ def cloud_credentials(
63
64
64
65
@pytest .fixture (scope = "session" )
65
66
def cloud_configs (microceph : pytest_microceph .ConnectionInformation ):
67
+ # Add UUID to path to avoid conflict with tests running in parallel (e.g. multiple Juju
68
+ # versions on a PR, multiple PRs)
69
+ path = f"mysql-k8s/{ uuid .uuid4 ()} "
70
+
66
71
return {
67
72
"aws" : {
68
73
"endpoint" : "https://s3.amazonaws.com" ,
69
74
"bucket" : "data-charms-testing" ,
70
- "path" : "mysql-k8s" ,
75
+ "path" : path ,
71
76
"region" : "us-east-1" ,
72
77
},
73
78
"gcp" : {
74
79
"endpoint" : "https://storage.googleapis.com" ,
75
80
"bucket" : "data-charms-testing" ,
76
- "path" : "mysql-k8s" ,
81
+ "path" : path ,
77
82
"region" : "" ,
78
83
},
79
84
"ceph" : {
You can’t perform that action at this time.
0 commit comments