Files
documentdb/internal
Amit Prabhudesai 95910b3aa9 Merged PR 1512730: Add helio_distributed_test_helpers to helio_compat tests
### Does this PR have any customer impact?
No

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Testing

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No

### Are you introducing any new config? If yes, do you have tests with and without them being set?
No

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
Add helio_distributed_test_helpers to helio_compat tests

Without this, tests that rely on `helio_distributed_test_helpers` (e.g., tests for background index builds) crap out with an error like so:

```
 CALL helio_distributed_test_helpers.create_indexes_background('db', '{ "createIndexes": "LargeKeySize", "indexes": [ { "key" : { "a": 1 }, "name": "rumConstraint1"}] }');
-                                                                                                                retval                                                                                                                | ok
----------------------------------------------------------------------
- { "raw" : { "defaultShard" : { "numIndexesBefore" : { "$numberInt" : "1" }, "numIndexesAfter" : { "$numberInt" : "2" }, "createdCollectionAutomatically" : false, "ok" : { "$numberInt" : "1" } } }, "ok" : { "$numberInt" : "1" } } | t
-(1 row)
-
+ERROR:  procedure helio_distributed_test_helpers.create_indexes_background(unknown, unknown) does not exist
+LINE 1: CALL helio_distributed_test_helpers.create_indexes_backgroun...
+             ^
+HINT:  No procedure matches the given name and argument types. You might need to add explicit type casts.
```

----
#### AI description  (iteration 1)
#### PR Classification
Code cleanup

#### PR Summary
This pull request updates the test setup for `helio_compat` by adding a new test helper.
- `pgmongo/src/test/helio_compat/helio_setup_schedule`: Added `helio_distributed_test_helpers` to the test setup.
2024-11-19 17:25:36 +08:00
..