Commit 108a783
test(mongodb): keep the integration helper in step with the Atlas-legal name
engine_index() hardcoded '{TEST_INDEX}:{engine_name}', duplicating the
production rule rather than calling it -- which is both why it broke here and
part of why the colon survived to a real Atlas run in the first place.
It has to duplicate: the engine lives in a bin target, so an integration test
cannot import derive_search_index_name. The comment now says so, and says why
the separator must not be 'fixed' back to ':' -- mongodb-atlas-local accepts a
colon that hosted Atlas rejects, so this suite can never be the thing that
catches it. The unit test search_index_names_are_atlas_legal is.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent a1d400a commit 108a783
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
131 | 143 | | |
132 | | - | |
| 144 | + | |
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
| |||
0 commit comments