8000 Connection refused error appears when only using filestore adapter · Issue #586 · danmayer/coverband · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Connection refused error appears when only using filestore adapter #586
Open
@zach-fetch

Description

@zach-fetch

Describe the bug
I constantly get the following error when using coverband but with the filestore option.

E, [2025-05-19T13:39:52.117297 #81493] ERROR -- : coverage failed to store
E, [2025-05-19T13:39:52.117663 #81493] ERROR -- : Coverband Error: #<Redis::CannotConnectError: Connection refused - connect(2) for 127.0.0.1:6379 (redis://localhost:6379)> Connection refused - connect(2) for 127.0.0.1:6379 (redis://localhost:6379)

My current setup:

Coverband.configure do |config|
  config.root = Dir.pwd
  config.background_reporting_enabled = false
  config.store = Coverband::Adapters::FileStore.new('coverband/log')
  # config.logger = Logger.new(STDOUT)
  config.verbose = false
end

To Reproduce
Steps to reproduce the behavior:

  1. Configure coverband with filestore
  2. Run ruby code to analyze
  3. Error occurs

Expected behavior
When I am only using the filestore option, I don't want to see errors about redis. That doesn't make sense for what I am doing. I am going to upload these coverage reports to S3 instead of creating a brand new coverage redis instance.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macos
  • Browser na
  • Version 1.6.4 and 1.6.5

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0