The test case TestOffchainDBConfig fails when the go test routine uses a proxy.
The second part tests the CheckOffchainDBConfig() function.
When using a proxy, the part that uses a "unreachable" offchain db (0.1.2.3) will time out/block for a long time in SetOffchainDBConfig.
We should use a different way to test for invalid configs.
Maybe it is a good idea to move testing of CheckOffchainDBConfig to a separate test as well.
reproduce: use proxy and run go test --run TestOffchainDBConfig
The test case TestOffchainDBConfig fails when the go test routine uses a proxy.
The second part tests the CheckOffchainDBConfig() function. When using a proxy, the part that uses a "unreachable" offchain db (0.1.2.3) will time out/block for a long time in SetOffchainDBConfig. We should use a different way to test for invalid configs. Maybe it is a good idea to move testing of CheckOffchainDBConfig to a separate test as well.
reproduce: use proxy and run go test --run TestOffchainDBConfig