Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

problem with running tests with large number of rows #3

Closed
maysamyabandeh opened this issue Mar 27, 2012 · 0 comments · Fixed by #10
Closed

problem with running tests with large number of rows #3

maysamyabandeh opened this issue Mar 27, 2012 · 0 comments · Fixed by #10

Comments

@maysamyabandeh
Copy link

at tso/ClientHandler.java which is to test the status oracle, here is the way we generate the row ids:

byte writtenSize = readOnly ? 0 : (byte) rnd.nextInt(MAX_ROW);

if MAX_ROW is larger than max unsigned byte (i.e., 127). then the result could be negative. This is because the byte sign is the 8th bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants