Commit 014317a
committed
fix: correct jarDir path in cf_metrics_exporter tests
DepDir() returns filepath.Join(depsDir, depsIdx), so the JAR is placed
at tmpDepDir/0/cf_metrics_exporter/ not tmpDepDir/cf_metrics_exporter/.
The tests were hollow before f4757c8 (the Installer was nil), masking
the wrong path. Add the '0' index subdirectory to jarDir in both
TestSupplyPlacesJarCorrectly and TestSupplyLogsProps.1 parent 78bdd0b commit 014317a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments