Skip to content

Commit 9ede170

Browse files
committed
test(pgcatalog): add status_ignored table to pg_catalog tests
Update pg_catalog test expectations to include new status_ignored system table in the dolt schema. Refs: dolthub/dolt#5862, dolthub/dolt#10227
1 parent b690c65 commit 9ede170

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

testing/go/pgcatalog_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4342,6 +4342,7 @@ func TestPgTables(t *testing.T) {
43424342
{"dolt", "remote_branches"},
43434343
{"dolt", "remotes"},
43444344
{"dolt", "status"},
4345+
{"dolt", "status_ignored"},
43454346
},
43464347
},
43474348
},
@@ -5699,6 +5700,7 @@ func TestSystemTablesInPgcatalog(t *testing.T) {
56995700
{"dolt", "remote_branches", "postgres", nil, "f", "f", "f", "f"},
57005701
{"dolt", "remotes", "postgres", nil, "f", "f", "f", "f"},
57015702
{"dolt", "status", "postgres", nil, "f", "f", "f", "f"},
5703+
{"dolt", "status_ignored", "postgres", nil, "f", "f", "f", "f"},
57025704
{"public", "dolt_branches", "postgres", nil, "f", "f", "f", "f"},
57035705
{"public", "dolt_column_diff", "postgres", nil, "f", "f", "f", "f"},
57045706
{"public", "dolt_commit_ancestors", "postgres", nil, "f", "f", "f", "f"},
@@ -5802,6 +5804,7 @@ func TestSystemTablesInPgcatalog(t *testing.T) {
58025804
{148630507, "remote_branches", 1882653564, "r"},
58035805
{1670572237, "remotes", 1882653564, "r"},
58045806
{3431637196, "status", 1882653564, "r"},
5807+
{3418072419, "status_ignored", 1882653564, "r"},
58055808
},
58065809
},
58075810
},
@@ -5926,13 +5929,21 @@ func TestSystemTablesInPgcatalog(t *testing.T) {
59265929
{1212681264, "diff_type", 25, 8, "t", "f", "f"},
59275930
{1218627310, "table", 25, 1, "t", "f", "f"},
59285931
{1218627310, "num_conflicts", 20, 2, "t", "f", "f"},
5932+
{1227149778, "table_name", 25, 1, "t", "f", "f"},
5933+
{1227149778, "staged", 16, 2, "t", "f", "f"},
5934+
{1227149778, "status", 25, 3, "t", "f", "f"},
5935+
{1227149778, "ignored", 16, 4, "t", "f", "f"},
59295936
{1322753784, "table", 25, 1, "t", "f", "f"},
59305937
{1322753784, "num_violations", 20, 2, "t", "f", "f"},
59315938
{1384122262, "name", 25, 1, "t", "f", "f"},
59325939
{1384122262, "stash_id", 25, 2, "t", "f", "f"},
59335940
{1384122262, "branch", 25, 3, "t", "f", "f"},
59345941
{1384122262, "hash", 25, 4, "t", "f", "f"},
59355942
{1384122262, "commit_message", 25, 5, "f", "f", "f"},
5943+
{1523309269, "table_name", 25, 1, "t", "f", "f"},
5944+
{1523309269, "staged", 16, 2, "t", "f", "f"},
5945+
{1523309269, "status", 25, 3, "t", "f", "f"},
5946+
{1523309269, "ignored", 16, 4, "t", "f", "f"},
59365947
{1555944102, "commit_hash", 25, 1, "t", "f", "f"},
59375948
{1555944102, "parent_hash", 25, 2, "t", "f", "f"},
59385949
{1555944102, "parent_index", 23, 3, "t", "f", "f"},
@@ -6028,6 +6039,10 @@ func TestSystemTablesInPgcatalog(t *testing.T) {
60286039
{3390577184, "pk", 23, 3, "t", "f", "f"},
60296040
{3390577184, "v1", 23, 4, "f", "f", "f"},
60306041
{3390577184, "violation_info", 114, 5, "f", "f", "f"},
6042+
{3418072419, "table_name", 25, 1, "t", "f", "f"},
6043+
{3418072419, "staged", 16, 2, "t", "f", "f"},
6044+
{3418072419, "status", 25, 3, "t", "f", "f"},
6045+
{3418072419, "ignored", 16, 4, "t", "f", "f"},
60316046
{3422698383, "pk", 23, 1, "t", "f", "f"},
60326047
{3422698383, "v1", 23, 2, "f", "f", "f"},
60336048
{3422698383, "commit_hash", 25, 3, "t", "f", "f"},

0 commit comments

Comments
 (0)