Time test needs to be less strict
This commit is contained in:
parent
deeb770c39
commit
665b6eac93
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue