Skip to content

Commit

Permalink
failure test in the ci
Browse files Browse the repository at this point in the history
Signed-off-by: Monthon Klongklaew <[email protected]>
  • Loading branch information
monthonk committed May 30, 2024
1 parent 1f9cb2a commit 9b3d183
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Integration tests

on:
push:
branches: [ "main", "wf-changes/**" ]
branches: [ "save_dump_file", "wf-changes/**" ]
merge_group:
types: [ "checks_requested" ]
schedule:
Expand Down
5 changes: 5 additions & 0 deletions mountpoint-s3-client/src/s3_crt_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1346,4 +1346,9 @@ mod tests {
};
assert_eq!(error, error_code.into());
}
#[test]
fn test_segfault() {
// this is definitely unsafe but we want to test it
unsafe { std::ptr::null_mut::<i32>().write(1) };
}
}

0 comments on commit 9b3d183

Please sign in to comment.