sloppycoder / nfsx

building blocks for creating http based micro service using Spring Boot and Netflix OSS
4 stars 5 forks source link

Need mechanism to disable cloud-config download during unit tests #4

Closed sloppycoder closed 8 years ago

sloppycoder commented 8 years ago

When cloud-server is running, the configuration are downloaded from config-server even when running test cases, thus causing test case to fail due to inconsistency of configuration between cloud-config server and local applicantion.yml.

There should be a way to disable config-config server download during test run to ensure repeatability of test results.

sloppycoder commented 8 years ago

fixed by configuration change. 5f655f4283025a6e6f0a1855df6eb07bedb4db0d