OpenFn / OpenFn/lightning

Hide noisy schema installation log from tests

Open
#597 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

The Schemas installation has finished. 2 installed log shouldn't show up in the tests, though it should still be logged by the application.

Maybe use the log capture scheme that we used in holding onto the error in the oban manager test??

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the test suite for the exact message "Schemas installation has finished. 2 installed" and inspect the log-capture approach used in the Oban manager test. Done means the message is hidden during tests while remaining logged by the application; run the relevant tests to verify both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.