seaweedfs/test
Chris Lu 2163570d16
test: add CRUD tests for S3 Tables Catalog Trino integration (#8236)
* test: add comprehensive CRUD tests for S3 Tables Catalog Trino integration

- Add TestNamespaceCRUD: Tests complete Create-Read-Update-Delete lifecycle for namespaces
- Add TestNamespaceListingPagination: Tests listing multiple namespaces with verification
- Add TestNamespaceErrorHandling: Tests error handling for edge cases (IF EXISTS, IF NOT EXISTS)
- Add TestSchemaIntegrationWithCatalog: Tests integration between Trino SQL and Iceberg REST Catalog

All tests pass successfully and use Trino SQL interface for practical integration testing.
Tests properly skip when Docker is unavailable.
Use randomized namespace names to avoid conflicts in parallel execution.

The tests provide comprehensive coverage of namespace/schema CRUD operations which form the
foundation of the Iceberg catalog integration with Trino.

* test: Address code review feedback for S3 Tables Catalog Trino CRUD tests

- Extract common test setup into setupTrinoTest() helper function
- Replace all fmt.Printf calls with idiomatic t.Logf
- Change namespace deletion verification from t.Logf to t.Errorf for proper test failures
- Enhance TestNamespaceErrorHandling with persistence verification test
- Remove unnecessary fmt import
- Improve test documentation with clarifying comments

* test: Fix schema naming and remove verbose output logging

- Fix TestNamespaceListingPagination schema name generation: use fmt.Sprintf instead of string(rune())
- Remove verbose logging of SHOW SCHEMAS output to reduce noise in test logs
- Keep high-level operation logging while removing detailed result output
2026-02-06 14:30:40 -08:00
..
data volume: large_volume version has bug when using in memory index 2021-06-28 15:48:07 -07:00
erasure_coding Fix maintenance worker panic and add EC integration tests (#8068) 2026-01-20 15:07:43 -08:00
foundationdb filer: improve FoundationDB performance by disabling batch by default (#7770) 2025-12-15 13:03:34 -08:00
fuse_integration Fix maintenance worker panic and add EC integration tests (#8068) 2026-01-20 15:07:43 -08:00
java/spark chore(deps): bump io.netty:netty-codec-http from 4.1.125.Final to 4.1.129.Final in /test/java/spark (#7773) 2025-12-15 15:46:06 -08:00
kafka chore: execute goimports to format the code (#7983) 2026-01-07 13:06:08 -08:00
kms fix: add missing backslash for volume extraArgs in helm chart (#7676) 2025-12-08 23:21:02 -08:00
metadata_subscribe fmt 2025-12-19 15:33:16 -08:00
mq fix: add missing backslash for volume extraArgs in helm chart (#7676) 2025-12-08 23:21:02 -08:00
postgres Remove deprecated allowEmptyFolder CLI option 2025-12-06 21:54:12 -08:00
random_access Java 3.59 2023-11-13 08:23:53 -08:00
s3 Merge branch 'master' of https://github.com/seaweedfs/seaweedfs 2026-02-06 13:14:30 -08:00
s3tables test: add CRUD tests for S3 Tables Catalog Trino integration (#8236) 2026-02-06 14:30:40 -08:00
sftp chore: execute goimports to format the code (#7983) 2026-01-07 13:06:08 -08:00
tus Add TUS protocol support for resumable uploads (#7592) 2025-12-14 21:56:07 -08:00