Issue Description
While working on my stalwart branch which add support for large files, I noticed that some tests are broken.
Expected Behavior
telemetry::telemetry_tests tests to succeed in a release tag of stalwart
Actual Behavior
Tests fail due to a primaryKeyViolation
Reproduction Steps
cargo test -p tests telemetry
Relevant Log Output
test telemetry::telemetry_tests ... FAILED
failures:
---- telemetry::telemetry_tests stdout ----
Running Alerts tests...
Running Metrics tests...
Running Tracing tests...
thread 'telemetry::telemetry_tests' (488149) panicked at tests/src/utils/jmap.rs:566:32:
Missing created item 0: {
"methodResponses": [
[
"x:Account/set",
{
"accountId": "b",
"notCreated": {
"i0": {
"type": "primaryKeyViolation",
"properties": [
"email"
],
"objectId": {
"object": "Account",
"id": "b"
}
}
}
},
"0"
]
],
"sessionState": "2fe6f709"
}
Stalwart Version
v0.16.x
Installation Method
Built from source
Database Backend
RocksDB
Blob Storage
Filesystem
Search Engine
Internal
Directory Backend
Internal
Additional Context
Seems like the test tries to create_user_account with [email protected] twice.
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on