Skip to content

Ballista context::tests::test_standalone_mode test fails #1020

@alamb

Description

@alamb

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

cargo test -p ballista --features=standalone -- standalone

Fails with the following error:

running 1 test
test context::tests::test_standalone_mode ... FAILED

failures:

---- context::tests::test_standalone_mode stdout ----
=== [9vMWKNg/1/0] Physical plan with metrics ===
ShuffleWriterExec: None, metrics=[output_rows=0, input_rows=0, write_time=1.046337ms]
  ProjectionExec: expr=[1 as Int64(1)], metrics=[output_rows=0, elapsed_compute=NOT RECORDED]
    EmptyExec: produce_one_row=false, metrics=[]


thread 'context::tests::test_standalone_mode' panicked at 'called `Result::unwrap()` on an `Err` value: Execution("General(\"Error connecting to Ballista scheduler or executor at http://127.0.0.1:62230: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\\\"tcp connect error\\\", Os { code: 61, kind: ConnectionRefused, message: \\\"Connection refused\\\" })))\")")', ballista/rust/client/src/context.rs:306:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    context::tests::test_standalone_mode

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s

error: test failed, to rerun pass '-p ballista --lib'

Expected behavior

  1. Test should pass
  2. CI should include this mode so that it does not break again

Additional context
Reported by @Igosuki on lucky #1000 / #1008 (see more details on #1008 (comment) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions