Commit edce24e
Vemula Anvesh
test(argocd): fix FallbackToAnySHA test to use a host not in the known-hosts list
gitea.internal.corp contains 'gitea.' which matches the known git host
heuristic, so the test was actually hitting Pass 1, not the fallback.
Replace with git.acme-corp.internal which has no known-host prefix,
no chart-registry prefix, and no .git suffix, so resolveMultiSourceRevision
genuinely falls through to the SHA-shape fallback (Pass 2).
Made-with: Cursor1 parent 80f81ac commit edce24e
1 file changed
Lines changed: 4 additions & 3 deletions
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | | - | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments