Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
fb41adcd
Commit
fb41adcd
authored
9 years ago
by
Craig Tiller
Browse files
Options
Downloads
Plain Diff
Merge pull request #3460 from ctiller/compiler-be-broked
Fix build breakage
parents
ee56eb60
164bb07d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/core/client_config/lb_policies_test.c
+5
-1
5 additions, 1 deletion
test/core/client_config/lb_policies_test.c
with
5 additions
and
1 deletion
test/core/client_config/lb_policies_test.c
+
5
−
1
View file @
fb41adcd
...
...
@@ -616,6 +616,8 @@ static void verify_rebirth_round_robin(const servers_fixture *f,
expected_connection_sequence
=
gpr_malloc
(
sizeof
(
int
)
*
expected_seq_length
);
seen_elements
=
gpr_malloc
(
sizeof
(
int
)
*
expected_seq_length
);
unique_seq_last_idx
=
~
(
size_t
)
0
;
memset
(
seen_elements
,
0
,
sizeof
(
uint8_t
)
*
expected_seq_length
);
for
(
i
=
0
;
i
<
num_iters
;
i
++
)
{
if
(
actual_connection_sequence
[
i
]
<
0
||
...
...
@@ -635,9 +637,11 @@ static void verify_rebirth_round_robin(const servers_fixture *f,
}
/* make sure we found a valid run */
for
(
j
=
0
;
j
<
expected_seq_length
;
j
++
)
{
GPR_ASSERT
(
seen_elements
[
j
]
!=
0
);
GPR_ASSERT
(
seen_elements
[
j
]
!=
0
);
}
GPR_ASSERT
(
unique_seq_last_idx
!=
~
(
size_t
)
0
);
unique_seq_first_idx
=
(
unique_seq_last_idx
-
expected_seq_length
+
1
);
memcpy
(
expected_connection_sequence
,
actual_connection_sequence
+
unique_seq_first_idx
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment