Skip to content

Commit

Permalink
ci: run test_client_with_user on cluster env
Browse files Browse the repository at this point in the history
  • Loading branch information
fMeow committed Sep 21, 2023
1 parent 4b291ae commit 20612b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
env:
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.HADOOP_HOME }}/lib/native
HDRS_TEST: on
HDRS_INTEGRATED_TEST: on
HDRS_NAMENODE: hdfs://localhost:8020
HDRS_WORKDIR: /tmp/hdrs/

Expand Down
2 changes: 1 addition & 1 deletion tests/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ fn test_client_with_user() -> Result<()> {
let _ = env_logger::try_init();

dotenv::from_filename(".env").ok();
if std::env::var("HDRS_TEST").unwrap_or_default() != "on" {
if std::env::var("HDRS_INTEGRATED_TEST").unwrap_or_default() != "on" {
return Ok(());
}
let name_node = env::var("HDRS_NAMENODE")?;
Expand Down

0 comments on commit 20612b6

Please sign in to comment.