How do I run grpc/test ?

74 views
Skip to first unread message

Rajarshi Biswas

unread,
Jun 12, 2017, 6:59:10 PM6/12/17
to grpc.io
Hi,

Sorry for the noob question. 
How do i make and run the following two tests ?
grpc/test/core/fling/server.
grpc/test/core/fling/client.c

_Thanks

Rajarshi Biswas

unread,
Jun 13, 2017, 12:02:35 PM6/13/17
to grpc.io
Hi Guys, 

So I figured I have to make this using bazel ? But I get the following error now. 

 bazel build :server
INFO: Found 1 target...
ERROR: /home/biswas.91/grpc/BUILD:448:1: undeclared inclusion(s) in rule '//:grpc_base':
this rule is missing dependency declarations for the following files included by 'src/core/lib/iomgr/tcp_client_posix.c':
  '/home/biswas.91/grpc/src/core/lib/iomgr/time_util.h'.
Target //test/core/fling:server failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.506s, Critical Path: 0.18s

Can someone please help me to fix this?

Thanks, Rajarshi 

Yang Gao

unread,
Jun 16, 2017, 4:08:10 PM6/16/17
to Rajarshi Biswas, grpc.io
You can make fling_client fling_server and look at fling_test.c to see how to run them manually.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/129f3b07-c0ba-464b-b6d3-6bb64074d0fe%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Rajarshi Biswas

unread,
Jun 16, 2017, 4:23:21 PM6/16/17
to grpc.io, rajarshi...@gmail.com
Hi Yang,

Thanks for the response. I figured that out and debugging the server and client helped me a lot to understand the architecture. 


On Friday, June 16, 2017 at 4:08:10 PM UTC-4, Yang Gao wrote:
You can make fling_client fling_server and look at fling_test.c to see how to run them manually.
On Tue, Jun 13, 2017 at 9:02 AM, Rajarshi Biswas <rajarshi...@gmail.com> wrote:
Hi Guys, 

So I figured I have to make this using bazel ? But I get the following error now. 

 bazel build :server
INFO: Found 1 target...
ERROR: /home/biswas.91/grpc/BUILD:448:1: undeclared inclusion(s) in rule '//:grpc_base':
this rule is missing dependency declarations for the following files included by 'src/core/lib/iomgr/tcp_client_posix.c':
  '/home/biswas.91/grpc/src/core/lib/iomgr/time_util.h'.
Target //test/core/fling:server failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.506s, Critical Path: 0.18s

Can someone please help me to fix this?

Thanks, Rajarshi 


On Monday, June 12, 2017 at 6:59:10 PM UTC-4, Rajarshi Biswas wrote:
Hi,

Sorry for the noob question. 
How do i make and run the following two tests ?
grpc/test/core/fling/server.
grpc/test/core/fling/client.c

_Thanks

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.

To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
Reply all
Reply to author
Forward
0 new messages