Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions crates/openshell-server/src/grpc/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12073,6 +12073,9 @@ mod tests {
.unwrap()
.is_some()
);

// Wait for SQLx's SQLite worker threads to stop before the test process exits;
state.store.close_for_test().await;
}

#[tokio::test]
Expand Down Expand Up @@ -14833,6 +14836,9 @@ mod tests {
.status,
"approved"
);

// Wait for SQLx's SQLite worker threads to stop before the test process exits;
state.store.close_for_test().await;
}

#[tokio::test]
Expand Down Expand Up @@ -18670,6 +18676,9 @@ mod tests {
"undo must clear stale rejection_reason; got: {:?}",
restored.rejection_reason
);

// Wait for SQLx's SQLite worker threads to stop before the test process exits;
state.store.close_for_test().await;
}

#[tokio::test]
Expand Down Expand Up @@ -18853,6 +18862,9 @@ mod tests {
.await
.unwrap_err();
assert_eq!(undo_err.code(), Code::NotFound);

// Wait for SQLx's SQLite worker threads to stop before the test process exits;
state.store.close_for_test().await;
}

#[test]
Expand Down
Loading