summaryrefslogtreecommitdiff
path: root/test/rs
diff options
context:
space:
mode:
authorJames E. King, III <jking@apache.org>2017-11-17 14:41:46 -0500
committerJames E. King, III <jking@apache.org>2017-11-18 21:10:40 -0500
commit58402ff6a71f00f9d61a9676bdabd3e5bbe9ea3f (patch)
tree79937c784bdb949254b23f0455433fd57522627c /test/rs
parent87ad2bcaaa5a9fe224ad7a9826b676ca9721ddd1 (diff)
downloadthrift-58402ff6a71f00f9d61a9676bdabd3e5bbe9ea3f.tar.gz
THRIFT-2013: add multiplex server and client test support to cpp language
add multiplex client test support to csharp and java languages fix a bug in the server-side header protocol factory fix a bug in the cpp SSL server socket implementation remove unnecessary sleep in cpp server testOneway This closes #1414
Diffstat (limited to 'test/rs')
-rw-r--r--test/rs/src/bin/test_client.rs12
-rw-r--r--test/rs/src/bin/test_server.rs4
2 files changed, 0 insertions, 16 deletions
diff --git a/test/rs/src/bin/test_client.rs b/test/rs/src/bin/test_client.rs
index d720313e9..7c11ad560 100644
--- a/test/rs/src/bin/test_client.rs
+++ b/test/rs/src/bin/test_client.rs
@@ -287,18 +287,6 @@ fn make_thrift_calls(
// do the multiplexed calls while making the main ThriftTest calls
if let Some(ref mut client) = second_service_client.as_mut() {
- info!("SecondService blahBlah");
- {
- let r = client.blah_blah();
- match r {
- Err(thrift::Error::Application(ref e)) => {
- info!("received an {:?}", e);
- Ok(())
- }
- _ => Err(thrift::Error::User("did not get exception".into())),
- }?;
- }
-
info!("SecondService secondtestString");
{
verify_expected_result(
diff --git a/test/rs/src/bin/test_server.rs b/test/rs/src/bin/test_server.rs
index a32e93880..81a2ad81d 100644
--- a/test/rs/src/bin/test_server.rs
+++ b/test/rs/src/bin/test_server.rs
@@ -390,10 +390,6 @@ impl ThriftTestSyncHandler for ThriftTestSyncHandlerImpl {
struct SecondServiceSyncHandlerImpl;
impl SecondServiceSyncHandler for SecondServiceSyncHandlerImpl {
- fn handle_blah_blah(&self) -> thrift::Result<()> {
- Err(thrift::new_application_error(thrift::ApplicationErrorKind::Unknown, "blahBlah"),)
- }
-
fn handle_secondtest_string(&self, thing: String) -> thrift::Result<String> {
info!("testString({})", &thing);
let ret = format!("testString(\"{}\")", &thing);