Random - DB - Things 👍 #136
Closed
helio-frota
started this conversation in
General
Replies: 3 comments 4 replies
-
I don't know the reason, maybe it could be simplified ? 🤷
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Makes no sense to call is PM Mode the best place to have a db dump ? |
Beta Was this translation helpful? Give feedback.
4 replies
-
thanks, we have this issue now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apparently something is printing a binary
RUST_LOG=debug cargo test -- ingest_sboms --nocapture
I've changed all the tests to
let db = Database::for_test("a").await?;
and it works 👍UPDATE: #141 (comment) we have a risk when running tests in parallel
Currently
db.dump()
makes no sense, as best-place-to-use becausedb
is seaORM DBConnection relatedwarning: if we add this line
let pg_clone = postgresql.clone();
then is enough to get this:Related to the dump usage (I'm not 100% sure) probably we will need something like:
Beta Was this translation helpful? Give feedback.
All reactions