Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roachtest: small misc #52083

Merged
merged 2 commits into from
Aug 5, 2020
Merged

roachtest: small misc #52083

merged 2 commits into from
Aug 5, 2020

Conversation

andreimatei
Copy link
Contributor

See individual commits.

@andreimatei andreimatei requested a review from ajwerner July 29, 2020 20:20
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

:lgtm: mod build fixes

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained


pkg/ts/timespan.go, line 100 at r2 (raw file):

		return fmt.Errorf(
			"cannot query time series in the future (start time %d was greater than "+
				"cutoff for current sample period %d); current time: %s; sample duration: %s",

you need a %d or %v

@andreimatei andreimatei force-pushed the small.kv-test branch 2 times, most recently from df87bf9 to 03c83b7 Compare August 4, 2020 20:39
Copy link
Contributor Author

@andreimatei andreimatei 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: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @ajwerner)


pkg/ts/timespan.go, line 100 at r2 (raw file):

Previously, ajwerner wrote…

you need a %d or %v

switched to proper times

Copy link
Contributor

@ajwerner ajwerner 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 1 of 1 files at r4.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

A test had a non-sensically short duration when running locally.
Actually running this test with such a short duration causes it to fail
cause the metrics query that it wants to do errors out because the
duration is too small in comparison with the downsampling period.

Release note: None
Copy link
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

bors r+

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @ajwerner)

@craig
Copy link
Contributor

craig bot commented Aug 5, 2020

Build succeeded:

@craig craig bot merged commit 67a92cd into cockroachdb:master Aug 5, 2020
@andreimatei andreimatei deleted the small.kv-test branch August 21, 2020 14:45
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.

3 participants