dolthub/doltgresql#1361: unskip dolt_clean zero-argument tests#2138
Merged
fulghum merged 1 commit intodolthub:mainfrom Dec 22, 2025
Merged
Conversation
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
approved these changes
Dec 22, 2025
Contributor
|
Another great contribution. Thank you @codeaucafe! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SELECT DOLT_CLEAN()zero-argument smoke tests that were added in Add skipped tests for bugs hit from testing js frameworks, fixcurrent_setting#1373Function0registration for all Dolt proceduresDOLT_CLEAN('t1')runs beforeDOLT_CLEAN()to properly test bothNote: #1373 also added skipped tests in
prepared_statement_test.go, but those were already unskipped in commit 62569c7.Tests to verify
go test ./testing/go/... -run "TestDoltClean"to verify existing dolt_clean tests passgo test ./testing/go/... -run "TestDoltFunctionSmokeTests/smoke_test_select_dolt_clean"to verify unskipped smoke tests passFixes #1361