Skip to content

Commit def453a

Browse files
author
Max Azatian
committed
CI fix 12 | mongodb sha fix
1 parent 288e37a commit def453a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
except Exception:
5858
u = user
5959
p = pwd
60-
os.environ["MONGODB_URL"] = f"mongodb://{u}:{p}@{host}:{port}/?authSource=admin"
60+
os.environ["MONGODB_URL"] = (
61+
f"mongodb://{u}:{p}@{host}:{port}/?authSource=admin&authMechanism=SCRAM-SHA-256"
62+
)
6163
os.environ.setdefault("KAFKA_BOOTSTRAP_SERVERS", "localhost:9092")
6264
os.environ.setdefault("REDIS_HOST", "localhost")
6365
os.environ.setdefault("REDIS_PORT", "6379")

0 commit comments

Comments
 (0)