Skip to content

dolthub/doltgresql#1361: unskip dolt_clean zero-argument tests#2138

Merged
fulghum merged 1 commit intodolthub:mainfrom
codeaucafe:codeaucafe/fix/1361-unskip-dolt-clean-tests
Dec 22, 2025
Merged

dolthub/doltgresql#1361: unskip dolt_clean zero-argument tests#2138
fulghum merged 1 commit intodolthub:mainfrom
codeaucafe:codeaucafe/fix/1361-unskip-dolt-clean-tests

Conversation

@codeaucafe
Copy link
Contributor

Summary

Note: #1373 also added skipped tests in prepared_statement_test.go, but those were already unskipped in commit 62569c7.

Tests to verify

  • Run go test ./testing/go/... -run "TestDoltClean" to verify existing dolt_clean tests pass
  • Run go test ./testing/go/... -run "TestDoltFunctionSmokeTests/smoke_test_select_dolt_clean" to verify unskipped smoke tests pass

Fixes #1361

Issue dolthub#1361 reported that SELECT DOLT_CLEAN() with no arguments failed
with "function dolt_clean() does not exist". This was fixed in PR dolthub#1763
which added Function0 registration for all Dolt procedures, but the
corresponding tests in dolt_functions_test.go remained skipped.

Note: PR dolthub#1373 (referenced by issue dolthub#1361) also added skipped tests in
prepared_statement_test.go, but those were already unskipped in commit
62569c7 ("finished removing custom expr type").

List of changes below:
- Remove Skip: true from zero-argument DOLT_CLEAN() tests
- Reorder test assertions so DOLT_CLEAN('t1') runs before DOLT_CLEAN()
- Add table recreation step between test cases to verify both work

Refs: dolthub#1361
@fulghum fulghum merged commit bf08254 into dolthub:main Dec 22, 2025
21 checks passed
@fulghum
Copy link
Contributor

fulghum commented Dec 22, 2025

Another great contribution. Thank you @codeaucafe!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dolt_clean procedure does not work if no arguments provided

3 participants