Browse Source

s3tables test: update integration tests for new client API

pull/8147/head
Chris Lu 3 weeks ago
parent
commit
89b85bfd5e
  1. 6
      test/s3tables/s3tables_integration_test.go

6
test/s3tables/s3tables_integration_test.go

@ -78,7 +78,7 @@ func testTableBucketLifecycle(t *testing.T, client *S3TablesClient) {
t.Logf("✓ Got table bucket: %s", getResp.Name)
// List table buckets
listResp, err := client.ListTableBuckets("")
listResp, err := client.ListTableBuckets("", "", 0)
require.NoError(t, err, "Failed to list table buckets")
found := false
for _, b := range listResp.TableBuckets {
@ -124,7 +124,7 @@ func testNamespaceLifecycle(t *testing.T, client *S3TablesClient) {
t.Logf("✓ Got namespace: %v", getNsResp.Namespace)
// List namespaces
listNsResp, err := client.ListNamespaces(bucketARN, "")
listNsResp, err := client.ListNamespaces(bucketARN, "", "", 0)
require.NoError(t, err, "Failed to list namespaces")
found := false
for _, ns := range listNsResp.Namespaces {
@ -190,7 +190,7 @@ func testTableLifecycle(t *testing.T, client *S3TablesClient) {
t.Logf("✓ Got table: %s (format: %s)", getTableResp.Name, getTableResp.Format)
// List tables
listTablesResp, err := client.ListTables(bucketARN, []string{namespaceName}, "")
listTablesResp, err := client.ListTables(bucketARN, []string{namespaceName}, "", "", 0)
require.NoError(t, err, "Failed to list tables")
found := false
for _, tbl := range listTablesResp.Tables {

Loading…
Cancel
Save