Disable flaky part of Mtree tests ()

This commit is contained in:
Emmanuel Keller 2024-03-20 20:17:47 +00:00 committed by GitHub
parent f1cc3c8d14
commit ae0eb03998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 11 deletions

View file

@ -190,8 +190,6 @@ impl Default for WriteMutationSet {
#[cfg(test)]
mod tests {
use crate::sql::Strand;
#[test]
fn serialization() {
use super::*;

View file

@ -141,7 +141,7 @@ mod tests {
use crate::sql::value::Value;
use crate::vs;
const dont_store_previous: bool = false;
const DONT_STORE_PREVIOUS: bool = false;
#[tokio::test]
async fn test_changefeed_read_write() {
@ -200,7 +200,7 @@ mod tests {
id: Id::String("A".to_string()),
};
let value_a: super::Value = "a".into();
let mut previous = Cow::from(Value::None);
let previous = Cow::from(Value::None);
tx1.record_change(
ns,
db,
@ -208,7 +208,7 @@ mod tests {
&thing_a,
previous.clone(),
Cow::Borrowed(&value_a),
dont_store_previous,
DONT_STORE_PREVIOUS,
);
tx1.complete_changes(true).await.unwrap();
tx1.commit().await.unwrap();
@ -226,7 +226,7 @@ mod tests {
&thing_c,
previous.clone(),
Cow::Borrowed(&value_c),
dont_store_previous,
DONT_STORE_PREVIOUS,
);
tx2.complete_changes(true).await.unwrap();
tx2.commit().await.unwrap();
@ -245,7 +245,7 @@ mod tests {
&thing_b,
previous.clone(),
Cow::Borrowed(&value_b),
dont_store_previous,
DONT_STORE_PREVIOUS,
);
let thing_c2 = Thing {
tb: tb.to_owned(),
@ -259,7 +259,7 @@ mod tests {
&thing_c2,
previous.clone(),
Cow::Borrowed(&value_c2),
dont_store_previous,
DONT_STORE_PREVIOUS,
);
tx3.complete_changes(true).await.unwrap();
tx3.commit().await.unwrap();

View file

@ -2332,7 +2332,7 @@ mod tests {
TestCollection::new_unique(150, vt, 3),
true,
true,
true,
false,
0,
)
.await?;
@ -2423,7 +2423,7 @@ mod tests {
TestCollection::new_random(150, vt, 3),
true,
true,
true,
false,
0,
)
.await?;
@ -2440,7 +2440,7 @@ mod tests {
TestCollection::new_random(1000, vt, 10),
false,
true,
true,
false,
0,
)
.await?;