1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Time test needs to be less strict

This commit is contained in:
eldadfux 2019-09-27 16:30:58 +03:00
parent deeb770c39
commit 665b6eac93
2 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ services:
- _APP_DB_PORT=3306
- _APP_DB_SCHEMA=appwrite
- _APP_DB_USER=user
- _APP_DB_PASS=pass
- _APP_DB_PASS=password
- _APP_INFLUXDB_HOST=influxdb
- _APP_INFLUXDB_PORT=8086
- _APP_STATSD_HOST=telegraf
@ -37,10 +37,10 @@ services:
image: appwrite/mariadb:1.0.0 # fix issues when upgrading using: mysql_upgrade -u root -p
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=rootpassword
- MYSQL_ROOT_PASSWORD=rootsecretpassword
- MYSQL_DATABASE=appwrite
- MYSQL_USER=user
- MYSQL_PASSWORD=pass
- MYSQL_PASSWORD=password
volumes:
- ./storage/db:/var/lib/mysql:rw
ports:

View file

@ -51,7 +51,7 @@ class ConsoleHealthTest extends BaseConsole
$this->assertIsInt($response['body']['local']);
$this->assertNotEmpty($response['body']['remote']);
$this->assertNotEmpty($response['body']['local']);
$this->assertEquals(0, $response['body']['diff']);
$this->assertLessThan(10, $response['body']['diff']);
}
public function testWebhooksSuccess()