Skip to content

Commit

Permalink
Make sure short tests are actually passing
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 committed Apr 26, 2024
1 parent 7338448 commit f2501fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -199,7 +199,9 @@ go test ./...

- The `parallel` flag can be used to limit CPU usage, for running tests in the background (`-parallel=4`) - the default is `GOMAXPROCS`
- The `p` flag can be used to limit the number of _packages_ tested concurrently, if they are interferring with one another (`-p=1`)
- The `-short` flag skips tests which depend on the database, for quickly spot checking simpler tests in around one minute
- The `-short` flag skips tests which depend on the database, for quickly spot checking simpler tests in around one minute.

```bash

#### Race Detector

Expand Down
1 change: 1 addition & 0 deletions core/chains/evm/config/config_test.go
Expand Up @@ -378,6 +378,7 @@ func TestChainScopedConfig_HeadTracker(t *testing.T) {
}

func Test_chainScopedConfig_Validate(t *testing.T) {
testutils.SkipShort(t, "These tests check if the CL_DATABASE_URL env var has a specific format, which is not set in short mode.")
configWithChains := func(t *testing.T, id int64, chains ...*toml.Chain) config.AppConfig {
return configtest.NewGeneralConfig(t, func(c *chainlink.Config, s *chainlink.Secrets) {
chainID := ubig.NewI(id)
Expand Down

0 comments on commit f2501fa

Please sign in to comment.