source-controller/controllers
Sunny 144766d03c
controllers: Fix helmchart values file merge test
Test case "Setting valid valuesFile attribute" and the tests around it
aren't isolated and most of the time pass because of the results from
the previous tests being re-read as the test expectation match the
previous test results. Failures are very rare to reproduce, even in
the CI they aren't seen but it failed very frequently on my computer,
especially this specific case because unlike the other cases, there is
just one file to be merged, which invalidates the chart result from
the previous cases.
In order to ensure the test wait for the chart to be updated by its
action and not by any other previous updates, status condition message
seems to be the most reliable way, as it also contains the paths of the
files that were merged.
With this change, I could no longer reproduce the failure on my
computer.
Reordering the tests makes this issue more clear.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2021-11-22 15:46:02 +05:30
..
testdata Write chart data on identitical values overwrite 2021-04-21 14:50:03 +02:00
artifact.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00
artifact_test.go Add include property to GitRepositories 2021-05-11 09:46:50 +02:00
bucket_controller.go Added Logger to closing GCP client 2021-10-14 14:57:48 -05:00
bucket_controller_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
gitrepository_controller.go Fix error during public key import 2021-10-29 10:54:16 -04:00
gitrepository_controller_test.go git: remove ', error:' from returned error 2021-10-27 00:43:31 +05:30
helmchart_controller.go controllers: set generation as version metadata 2021-11-19 17:04:00 +01:00
helmchart_controller_test.go controllers: Fix helmchart values file merge test 2021-11-22 15:46:02 +05:30
helmrepository_controller.go controllers: more tidying of wiring 2021-11-19 17:04:00 +01:00
helmrepository_controller_test.go tests: ensure proper garbage collection 2021-11-16 10:39:58 +01:00
source_predicate.go Upgrade controller-runtime to v0.7.0 2020-12-18 19:17:10 +01:00
storage.go storage: change Artifact checksum to SHA256 2021-11-11 22:47:49 +01:00
storage_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
suite_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00