Home
last modified time | relevance | path

Searched +full:runs +full:- +full:on (Results 1 – 25 of 32) sorted by relevance

12

/thrift-3.4.0/.github/workflows/
Dbuild.yml3 on:
10 …BUILD_DEPS: automake bison flex git libboost-all-dev libevent-dev libssl-dev libtool make pkg-conf…
20 os: [ubuntu-20.04, ubuntu-22.04]
21 runs-on: ${{ matrix.os }}
23 - uses: actions/checkout@v3
25 - name: Install dependencies
27 sudo apt-get update -yq
28 sudo apt-get install -y --no-install-recommends g++ $BUILD_DEPS
30 - name: Run bootstrap
33 - name: Run configure
[all …]
Dcmake.yml3 on:
10 BUILD_DEPS: bison flex g++ libboost-all-dev libevent-dev libssl-dev make cmake
17 runs-on: ubuntu-20.04
19 - uses: actions/checkout@v3
21 - name: Install dependencies
23 sudo apt-get update -yq
24 sudo apt-get install -y --no-install-recommends $BUILD_DEPS
26 - name: Generate makefile using CMake
30 cmake .. -DBUILD_LIBRARIES=OFF
32 - name: Run make
[all …]
/thrift-3.4.0/contrib/transport-sample/
DREADME.md2 -------------------------------
4 This cross-platform project has been built with Windows Visual Studio 10 and
6 through command-line switches.
11 Windows-only at this time:
12 The client & server are double-ended. Both sides run a server and client to
14 line apps. The server runs until it's aborted (Ctl-C). The client connects to
15 the server, informs the server of its listening pipe/port, runs some more RPCs
20 Boost -- tested with Boost 1.47, other versions may work.
21 libthrift library -- build the library under "thrift/lib/cpp/"
22 thrift IDL compiler -- download from http://thrift.apache.org/download/
[all …]
/thrift-3.4.0/lib/d/test/
Dthrift_test_runner.sh12 # http://www.apache.org/licenses/LICENSE-2.0
15 # software distributed under the License is distributed on an
22 # Runs the D ThriftTest client and servers for all combinations of transport,
23 # protocol, SSL-mode and server type.
24 # Pass -k to keep going after failed tests.
37 trap "kill $(jobs -p) 2>/dev/null" INT TERM
39 echo "THRIFT-4905 & THRIFT-5608: SSL tests are disabled. Fix them."
42 # for ssl in "" " --ssl"; do
50 args="--transport=$transport --protocol=$protocol$ssl"
51 ${CUR}/thrift_test_server $args --server-type=$server > /dev/null &
[all …]
Dasync_test_runner.sh12 # http://www.apache.org/licenses/LICENSE-2.0
15 # software distributed under the License is distributed on an
24 # Runs the async test in both SSL and non-SSL mode.
26 echo "Non-SSL tests done."
28 # THRIFT-4905: disabled the following test as it deadlocks / hangs
29 # ${CUR}/async_test --ssl > /dev/null || exit 1
31 echo "THRIFT-4905: SSL tests are disabled. Fix them."
Dthrift_test_server.d10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
219 // Runs a thread that waits for shutdown to be
254 getopt(args, "port", &port, "protocol", &protocolType, "server-type", in main()
255 &serverType, "ssl", &ssl, "zlib", &zlib, "num-io-threads", &numIOThreads, in main()
256 "task-pool-size", &taskPoolSize, "trace", &trace, in main()
263 "Need to use framed transport with non-blocking server."); in main()
264 enforce(!ssl, "The non-blocking server does not support SSL yet."); in main()
272 // to reduce memory consumption on regular test suite runs – there should in main()
325 // Set up a listener for the shutdown condition - this will in main()
/thrift-3.4.0/lib/js/test/
DREADME.md8 -------
17 http://www.apache.org/licenses/LICENSE-2.0
20 software distributed under the License is distributed on an
27 ------------
28 drwxr-xr-x 2 randy randy 4096 Feb 8 15:44 sec
29 -rw-r--r-- 1 randy randy 2183 Feb 9 04:01 server_http.js
30 -rw-r--r-- 1 randy randy 2386 Feb 9 05:39 server_https.js
51 ------------
52 -rw-r--r-- 1 randy randy 13558 Feb 9 07:18 test-async.js
53 -rw-r--r-- 1 randy randy 5724 Feb 9 03:45 test_handler.js
[all …]
/thrift-3.4.0/lib/cl/test/
Dmake-test-binary.lisp5 ;;;; http://www.apache.org/licenses/LICENSE-2.0
8 ;;;; distributed under the License is distributed on an "AS IS" BASIS,
13 ;;;; This file is used to build the binary that runs all self-tests. The
15 ;;;; but can easily be run on its own as well.
17 (in-package #:cl-user)
20 (load (merge-pathnames "../load-locally.lisp" *load-truename*))
21 (asdf:load-asd (merge-pathnames "../lib/de.setf.thrift-backport-update/test/thrift-test.asd" *load-
22 (asdf:load-system :thrift-test)
24 (require "sb-grovel") ;; necessary for :net.didierverna.clon.termio
25 (asdf:load-asd (first (directory (merge-pathnames "../externals/software/clon-*/termio/net.didierve…
[all …]
/thrift-3.4.0/contrib/vagrant/centos-6.5/
DREADME.md3 This directory is the Vagrant project directory for Apache Thrift running on Centos 6.5. The Vagran…
6 $ cd thrift/contrib/vagrant/centos-6.5
9 … Apache Thrift provisioning script. This will take up to an hour depending on your hardware and ne…
13 [vagrant@thrift thrift]$ compiler/cpp/thrift --version
16 The provisioning script (inside the Vagrantfile) runs ./bootstrap.sh, ./configure, make and make ch…
36 wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O a…
38 chown -R vagrant /home/vagrant/.ssh
42 yum -y install yum-plugin-protectbase
43 rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
47 yum -y install perl
[all …]
DVagrantfile1 # -*- mode: ruby -*-
12 # http://www.apache.org/licenses/LICENSE-2.0
15 # software distributed under the License is distributed on an
27 # perl, dkms, kernel-devel and the "Development Tools" group.
29 # yum-plugin-protectbase package to prefer base repo packages.
33 # Expect full provisioning to take 30 minutes on a fast
38 # - User: vagrant/vagrant
39 # - Admin: root/vagrant
51 wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
52 tar xvf autoconf-2.69.tar.gz
[all …]
/thrift-3.4.0/aclocal/
Dax_dmd.m43 dnl Test for the presence of a DMD-compatible D2 compiler, and (optionally)
4 dnl specified modules on the import path.
7 dnl dmd command tested. Otherwise, a hard-coded list will be used.
9 dnl After AX_DMD runs, the shell variables "success" and "ax_dmd" are set to
11 dnl "dmd_optlink" will be set to "yes" or "no" depending on whether OPTLINK is
13 dnl directory separator to use when passing -of to DMD (OPTLINK requires a
21 dnl @version 2011-05-31
33 dnl Hard-coded default commands to test.
37 if test -n "$DMD" ; then
68 # Test whether OPTLINK is used by trying if DMD accepts -L/? without
[all …]
Dax_javac_and_java.m47 dnl java command tested. Otherwise, a hard-coded list will be used.
12 dnl compiling or running user-provided Java code.
14 dnl After AX_JAVAC_AND_JAVA runs, the shell variables "success" and
19 dnl It tests for the presence of a class based on a fully-qualified name.
23 dnl @version 2009-02-09
35 dnl Hard-coded default commands to test.
36 JAVAC_PROGS="javac,jikes,gcj -C"
40 if test -n "$JAVAC" ; then
43 if test -n "$JAVA" ; then
60 # prevent $JAVA VM issues with UTF-8 path names (THRIFT-3271)
[all …]
/thrift-3.4.0/contrib/fb303/aclocal/
Dax_javac_and_java.m47 dnl java command tested. Otherwise, a hard-coded list will be used.
12 dnl compiling or running user-provided Java code.
14 dnl After AX_JAVAC_AND_JAVA runs, the shell variables "success" and
19 dnl It tests for the presence of a class based on a fully-qualified name.
23 dnl @version 2009-02-09
35 dnl Hard-coded default commands to test.
36 JAVAC_PROGS="javac,jikes,gcj -C"
40 if test -n "$JAVAC" ; then
43 if test -n "$JAVA" ; then
76 rm -f configtest_ax_javac_and_java.java configtest_ax_javac_and_java.class
[all …]
/thrift-3.4.0/lib/cpp/src/thrift/server/
DTSimpleServer.h10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
30 * This is the most basic simple server. It is single-threaded and runs a
31 * continuous loop of accepting a single connection, processing requests on
/thrift-3.4.0/lib/js/
DREADME.md8 -------
17 http://www.apache.org/licenses/LICENSE-2.0
20 software distributed under the License is distributed on an
27 ------------
43 This runs the grunt build tool (from within `./node_modules/.bin/`),
49 ----
52 /src - The JavaScript Apache Thrift source
53 /doc - HTML documentation
54 /dist - Distribution files (thrift.js and thrift.min.js)
55 /test - Various tests, this is a good place to look for
[all …]
/thrift-3.4.0/lib/go/thrift/
Dbinary_protocol_test.go10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
69 label: "max-askedSize",
123 // NOTE: Since this test runs a benchmark test, it takes at
129 // https://issues.apache.org/jira/browse/THRIFT-5322
174 label: "max-askedSize",
/thrift-3.4.0/lib/cpp/test/
DTFileTransportTest.cpp10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
23 #include <thrift/thrift-config.h>
136 fd_ = -1; in close()
146 // waiting on the actual filesystem.
149 fsync_log->fsync(fd); in fsync()
155 return (t2->tv_usec - t1->tv_usec) + (t2->tv_sec - t1->tv_sec) * 1000000; in time_diff()
169 * wall-clock time. This could result in false failures on slower systems, or
170 * on heavily loaded machines.
184 transport->write(reinterpret_cast<const uint8_t*>("foo"), 3); in BOOST_AUTO_TEST_CASE()
[all …]
/thrift-3.4.0/lib/d/src/thrift/transport/
Dfile.d10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
25 * of so-called »events«, which refers to the data written between two flush()
63 * using is necessary to allow manually closing the file without relying on the
71 * path = Path of the file to opperate on.
100 return (currentEvent_.length - currentEventPos_) > 0; in peek()
108 throw new TTransportException("Error on opening input file.", in open()
138 auto remaining = currentEvent_.length - currentEventPos_; in read()
199 logError("Trying to seek to non-existing chunk, seeking to " ~ in seekToChunk()
202 chunk = numChunks - 1; in seekToChunk()
[all …]
/thrift-3.4.0/lib/java/gradle/
DsourceConfiguration.gradle10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
21 // ----------------------------------------------------------------------------
25 // This enables decoupling from the Java version that gradle runs, from
29 // The '--release' option added below makes sure that even if we are using
31 // also a runtime CI that's based on Java 8 to ensure that.
39 options.encoding = 'UTF-8'
45 '-Werror',
46 '-Xlint:deprecation',
47 '-Xlint:cast',
[all …]
DfunctionalTests.gradle10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
22 // ----------------------------------------------------------------------------
23 // Functional testing harness creation. This helps run the cross-check tests.
27 // ----------------------------------------------------------------------------
41 // 3. the cross test implementation will need to depends on main and test output
55 crossTestImplementation "org.apache.tomcat.embed:tomcat-embed-core:${tomcatEmbedVersion}"
61 // eliminates startup problems with wrapping the cross-check harness in Gradle.
65 description = 'Assemble a test JAR file for cross-check execution'
66 // make sure the runners are created when this runs
[all …]
/thrift-3.4.0/contrib/transport-sample/server/
Dserver.cpp6 // side runs both a client and server to enable bidirectional event
21 #include "../gen-cpp/SampleService.h"
22 #include "../gen-cpp/SampleCallback.h"
31 //-----------------------------------------------------------------------------
58 printf(">>>Connecting to client on port %d\n", ClientPort_); in ClientSideListenPort()
73 //-----------------------------------------------------------------------------
89 if(_tcscmp(argv[1], TEXT("-sp")) == 0) in _tmain()
98 else if(_tcscmp(argv[1], TEXT("-np")) == 0) in _tmain()
112 else if(_tcscmp(argv[1], TEXT("-ap")) == 0) in _tmain()
135 printf("Socket Port : -sp <port#>\n"); in _tmain()
[all …]
/thrift-3.4.0/build/docker/old/debian-stretch/
DDockerfile5 # http://www.apache.org/licenses/LICENSE-2.0
8 # distributed under the License is distributed on an "AS IS" BASIS,
16 # - d: deimos for libevent and openssl disabled - build errors
17 # - dotnetcore, because netcore is for 1.0.0-preview and 2.0.0 is out
18 # - rust: cargo not in debian repo - perhaps not needed?
20 FROM buildpack-deps:stretch-scm
27 RUN apt-get update && apt-get install -y --no-install-recommends apt apt-transport-https curl wget …
30 RUN wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d…
31 apt-get update && apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring
34 RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
[all …]
/thrift-3.4.0/build/docker/
DREADME.md4 docker containers are used to build and test the project on a
22 | -------- | ----- | ------- |
23 | `DISTRO` | `ubuntu-bionic` | Set by various build jobs in `.travis.yml` to run builds in differen…
24 | `DOCKER_REPO` | `thrift/thrift-build` | The name of the Docker Hub repository to obtain and store…
28 … that is used in builds if no overrides are specified would be: `thrift/thrift-build:ubuntu-bionic`
41 The Travis CI build runs in two phases - first the docker images are rebuilt
66 * make check in lib/py may hang in test_sslsocket - root cause unknown
81 alias dockerkillall='docker kill $(docker ps -q)'
84 …alias dockercleanc='printf "\n>>> Deleting stopped containers\n\n" && docker rm $(docker ps -a -q)'
87 …ni='printf "\n>>> Deleting untagged images\n\n" && docker rmi $(docker images -q -f dangling=true)'
[all …]
/thrift-3.4.0/lib/cpp/test/processor/
DHandlers.h10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
23 #include "gen-cpp/ParentService.h"
24 #include "gen-cpp/ChildService.h"
37 log_->append(EventLog::ET_CALL_INCREMENT_GENERATION, 0, 0); in incrementGeneration()
43 log_->append(EventLog::ET_CALL_GET_GENERATION, 0, 0); in getGeneration()
49 log_->append(EventLog::ET_CALL_ADD_STRING, 0, 0); in addString()
55 log_->append(EventLog::ET_CALL_GET_STRINGS, 0, 0); in getStrings()
61 log_->append(EventLog::ET_CALL_GET_DATA_WAIT, 0, 0); in getDataWait()
70 log_->append(EventLog::ET_CALL_ONEWAY_WAIT, 0, 0); in onewayWait()
[all …]
/thrift-3.4.0/tutorial/c_glib/
Dc_glib_server.c10 * http://www.apache.org/licenses/LICENSE-2.0
13 * software distributed under the License is distributed on an
20 #include <glib-object.h>
34 #include "gen-c_glib/calculator.h"
39 server---that is, the code that runs when a client invokes a
40 service method---is defined in a separate "handler" class that
50 defined in gen-c_glib/calculator.h.
53 of code here---much of it is boilerplate and can mostly be
54 copied-and-pasted from existing work. For more information refer to
97 /* ---------------------------------------------------------------- */
[all …]

12