Skip to content

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Dec 10, 2019

We chose to not add a new table for this.
If this ever becomes a performance bottleneck we can still add a table.

Fixes #3113


This change is Reviewable

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 4 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker)


go/lib/infra/modules/trust/v2/trustdbtest/trustdbtest.go, line 236 at r1 (raw file):

			xtest.AssertErrorsIs(t, err, trust.ErrNotFound)
			assert.Equal(t, trust.KeyInfo{}, actual)
		})

add test for non-existent AS in existing TRC and test for non-issuing existing AS

Copy link
Collaborator Author

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewable status: 3 of 5 files reviewed, 1 unresolved discussion (waiting on @oncilla)


go/lib/infra/modules/trust/v2/trustdbtest/trustdbtest.go, line 236 at r1 (raw file):

Previously, Oncilla wrote…

add test for non-existent AS in existing TRC and test for non-issuing existing AS

non-existent AS in existing TRC is already done in fetch non-existant ia
added one for non-issuing. (thanks for the TRC)

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

We chose to not add a new table for this.
If this ever becomes a performance bottleneck we can still add a table.

Fixes 3113
Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r3.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit 046062e into scionproto:master Dec 10, 2019
@lukedirtwalker lukedirtwalker deleted the pubTrustCert branch December 10, 2019 11:54
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.

TrustDB: Implement certificate tables and queries in sqlite and test harness
2 participants