Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test CI negative #5604

Closed
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,4 @@ For more details, see the [Apache Product Name Usage Guide](https://www.apache.o
Licensed under the Apache License, Version 2.0: <http://www.apache.org/licenses/LICENSE-2.0>

Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.

6 changes: 6 additions & 0 deletions core/src/services/fs/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ impl Access for FsBackend {
}

async fn write(&self, path: &str, op: OpWrite) -> Result<(RpWrite, Self::Writer)> {
if 1 < 2 {
panic!("Dummy failure");
}
let (target_path, tmp_path) = if let Some(atomic_write_dir) = &self.core.atomic_write_dir {
let target_path = self
.core
Expand Down Expand Up @@ -443,6 +446,9 @@ impl Access for FsBackend {
}

fn blocking_write(&self, path: &str, op: OpWrite) -> Result<(RpWrite, Self::BlockingWriter)> {
if 1 < 2 {
panic!("Dummy failure");
}
let (target_path, tmp_path) = if let Some(atomic_write_dir) = &self.core.atomic_write_dir {
let target_path = self
.core
Expand Down
Loading