1
0
mirror of https://github.com/distribution/distribution synced 2025-02-23 06:49:36 +01:00
distribution/configuration
Tiger Kaovilai 567158c365 configuration: use "fake" values for tests
These tests don't validate if options are valid for the storage-driver,
nor do they test if the storage-driver itself is valid. However, the tests
were using actual values (such as s3) and options (such as "region") which
may lead to the conclusion that it's also testing validity of those values.

This patch replaces the test-values with non-existing driver-names and
options to make it more clear these are fake values.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2022-08-18 10:23:17 -04:00
..
configuration_test.go configuration: use "fake" values for tests 2022-08-18 10:23:17 -04:00
configuration.go Add configuration option for Redis TLS 2021-03-01 18:55:56 -05:00
fuzz.go Fuzzing: Add 3 fuzzers 2021-11-29 20:59:28 +00:00
parser_test.go Add tests for configuration parser 2017-11-15 17:01:19 +01:00
parser.go patch-1 - adding more info to the error message 2021-11-24 15:55:22 +01:00