-
Notifications
You must be signed in to change notification settings - Fork 0
Demo branch [NOT MERGE] #26
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
base: main
Are you sure you want to change the base?
Conversation
| return err | ||
| } | ||
| i.Logger(ctx).Info("Creating password hash.") | ||
| passwordHash, err := bcrypt.GenerateFromPassword([]byte(r.Password), bcrypt.MinCost) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hashed password is too long, skip the hash
| } | ||
|
|
||
| // hack the response | ||
| output1Str := strings.ReplaceAll(string(output1), "400 Bad Request", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why there is 400 Bad Request at the end of each http response. Ignore them
| b.WriteString("\n") | ||
| continue | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the code to run control twice and get the non-deterministic part in response. It does not help for html response and we have another db diff approach, but only takes more time to do another run and text parse, maybe we should just delete all of them.
mwhittaker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Kexin!
bug1:
v2 has a logic bug, each transaction the amount become 100*amount
bug2:
v2 will auto generate a 12 digit acct id.
Created 3 requests, in experimental run for half v2 half v1
Output

bug1
bug2
