forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
48156: roachtest: assert against bogus return from pgurls r=andreimatei a=tbg See cockroachdb#48091. Apparently `c.InternalAddr` can return an empty addr: https://github.com/cockroachdb/cockroach/blob/26b9716f3d1b30cb8456fc8f1de1bad78c4d26fa/pkg/cmd/roachtest/cluster.go#L2112-L2134 I have no idea how this can happen despite a bit of sleuthing, but apparently it does, so the low cost way to home in on the problem is to sprinkle some assertions. Release note: None Co-authored-by: Tobias Schottdorf <[email protected]>
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters