Skip to content

Callerid2#1015

Closed
dumbunny wants to merge 4 commits intomasterfrom
callerid2
Closed

Callerid2#1015
dumbunny wants to merge 4 commits intomasterfrom
callerid2

Conversation

@dumbunny
Copy link
Copy Markdown
Contributor

@guokeno0 Here is a small change that adds some more test coverage for effective_caller_id.

@michael-berlin
Copy link
Copy Markdown
Contributor

@dumbunny A quick note on the PR itself: You pushed the branch to the official Github repository and not your fork dumbunny/vitess.

That's fine for now. I'll revise our Git + Github documentation tomorrow. Once that's available, let's make sure that you follow the triangular workflow using your fork then :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This 0x80 is a bit confusing, I think you meant 0x8000000000 instead?

0x80 would be one of the first values in the 00-80 range for instance, not the middle value as one would expect when you see 0x80 like this...

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.

Alternatively, you could use struct.Struct('Q').pack(0x80), but I guess that might be even more confusing.

@guokeno0
Copy link
Copy Markdown
Contributor

@dumbunny I also talked with Liang yesterday and looks like you guys are all using branches from the youtube/vitess master yet I'm using my fork and sync with the upstream every time. That's why your push will always go to the master directly

@yaoshengzhe
Copy link
Copy Markdown
Contributor

@dumbunny

git checkout callerid2
// make change locally
git add .
git commit -amend
git push -f // this forces changes in github in sync with your local change
// at this point, your PR should reflect your latest change

@yaoshengzhe
Copy link
Copy Markdown
Contributor

FYI, we prefer to use forked model to do development. Fork youtube/vitess repo in your own github repo, do the development, send PR to youtube/vitess for your changes :)

@michael-berlin
Copy link
Copy Markdown
Contributor

@guokeno0 @yaoshengzhe

I'll update our Git instructions later to reduce the confusion around this and avoid accidental pushes to the official Github repo in the future.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this test should cover all possible cursor APIs in vtgate_cursor.py so that we will be confident that we don't miss any piece of callerid on the server side

@guokeno0
Copy link
Copy Markdown
Contributor

Overall LGTM, it is better to improve the test coverage by testing other cursor APIs

@dumbunny dumbunny closed this Aug 27, 2015
@enisoc enisoc deleted the callerid2 branch April 8, 2016 02:30
notfelineit pushed a commit to planetscale/vitess that referenced this pull request Sep 21, 2022
…#1015)

This extracts the update to Ubuntu 20.04 (and thus MySQL 8 by default)
just for the end to end tests and updates the associated tests.

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>

Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
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.

6 participants