tests: clean up travis file
This commit is contained in:
parent
ebd41c784f
commit
cac9875b97
|
@ -26,9 +26,9 @@ before_install:
|
||||||
- docker buildx create --use
|
- docker buildx create --use
|
||||||
- chmod -R u+x ./.travis-ci
|
- chmod -R u+x ./.travis-ci
|
||||||
- export COMPOSE_INTERACTIVE_NO_CLI=1
|
- export COMPOSE_INTERACTIVE_NO_CLI=1
|
||||||
|
- ./.travis-ci/prepare.sh
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ./.travis-ci/prepare.sh
|
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- sleep 10
|
- sleep 10
|
||||||
|
|
||||||
|
|
|
@ -156,7 +156,7 @@ class Client
|
||||||
*/
|
*/
|
||||||
public function call(string $method, string $path = '', array $headers = [], array $params = [])
|
public function call(string $method, string $path = '', array $headers = [], array $params = [])
|
||||||
{
|
{
|
||||||
usleep(128);
|
usleep(50000);
|
||||||
$headers = array_merge($this->headers, $headers);
|
$headers = array_merge($this->headers, $headers);
|
||||||
$ch = curl_init($this->endpoint . $path . (($method == self::METHOD_GET && !empty($params)) ? '?' . http_build_query($params) : ''));
|
$ch = curl_init($this->endpoint . $path . (($method == self::METHOD_GET && !empty($params)) ? '?' . http_build_query($params) : ''));
|
||||||
$responseHeaders = [];
|
$responseHeaders = [];
|
||||||
|
|
Loading…
Reference in a new issue