Skip to content

Commit e113c57

Browse files
tonyxiaoclaude
andcommitted
Fix step 8 of connector-loading test: use --x-sync-params
Step 8 passed --source/--destination/--source-config/--destination-config flags which don't exist on the generated `check` command. Use --x-sync-params with the full JSON blob (matching the fix in steps 4-7). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Committed-By-Agent: claude
1 parent e90616e commit e113c57

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

e2e/connector-loading.test.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,9 @@ echo ""
188188
# Step 8: unknown connector name → "not found"
189189
# ---------------------------------------------------------------------------
190190
echo "--- Step 8: unknown connector name → not found ---"
191+
UNKNOWN_PARAMS='{"source_name":"nonexistent-xyz","source_config":{},"destination_name":"nonexistent-xyz","destination_config":{},"streams":[{"name":"x"}]}'
191192
STEP8_OUTPUT=$(npx sync-engine check \
192-
--source nonexistent-xyz \
193-
--destination nonexistent-xyz \
194-
--source-config '{}' \
195-
--destination-config '{}' \
193+
--x-sync-params "$UNKNOWN_PARAMS" \
196194
2>&1 || true)
197195
if echo "$STEP8_OUTPUT" | grep -qi "not found"; then
198196
echo " PASS: unknown connector correctly reports 'not found'"

0 commit comments

Comments
 (0)