Skip to content

logictest: enhance crdb_internal_tenant logic test#55860

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
asubiotto:mtin
Oct 26, 2020
Merged

logictest: enhance crdb_internal_tenant logic test#55860
craig[bot] merged 1 commit intocockroachdb:masterfrom
asubiotto:mtin

Conversation

@asubiotto
Copy link
Copy Markdown
Contributor

This commit copies the full crdb_internal test to crdb_internal_tenant, and
rewrites it to succeed with this configuration in order to increase
crdb_internal tenant test coverage.

Release note: None (testing change)

This commit copies the full crdb_internal test to crdb_internal_tenant, and
rewrites it to succeed with this configuration in order to increase
crdb_internal tenant test coverage.

Release note: None (testing change)
@asubiotto asubiotto requested review from andy-kimball and tbg October 22, 2020 15:08
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

query B
select crdb_internal.cluster_id() != '00000000-0000-0000-0000-000000000000' FROM foo
----
false
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tbg is this expected?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is. The ClusterID is primarily a KV concept. Tenants could learn it only from Gossip, but they don't since that has not been necessary.

@asubiotto
Copy link
Copy Markdown
Contributor Author

TFTR

bors r=tbg

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Oct 26, 2020

Build succeeded:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants