Skip to content

Commit b025536

Browse files
committed
TEMPORARY failure injection to see if we are testing what we think they are
Signed-off-by: itowlson <[email protected]>
1 parent 594892e commit b025536

File tree

1 file changed

+3
-0
lines changed
  • tests/test-components/components/outbound-postgres/src

1 file changed

+3
-0
lines changed

tests/test-components/components/outbound-postgres/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ impl Component {
3636
ensure_matches!(rowset.rows[1][2], postgres::DbValue::Time((h, m, s, ns)) if h == 14 && m == 15 && s == 16 && ns == 17);
3737
ensure_matches!(rowset.rows[1][3], postgres::DbValue::Datetime((y, _, _, h, _, _, ns)) if y == 1989 && h == 1 && ns == 4);
3838

39+
// FAKE FAKE FAKE DELIBERATE FAILURE TO CHECK WE ARE TESTING WHAT WE THINK WE ARE
40+
ensure_matches!(rowset.rows[1][2], postgres::DbValue::Time((h, m, s, ns)) if h == 99 && m == 0 && s == 77 && ns == 17);
41+
3942
let rowset = ensure_ok!(nullable(&conn));
4043
ensure!(rowset.rows.iter().all(|r| r.len() == 1));
4144
ensure!(matches!(rowset.rows[0][0], postgres::DbValue::DbNull));

0 commit comments

Comments
 (0)