diff --git a/.travis.yml b/.travis.yml index e2712eab92..ea3d9573ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,13 +30,11 @@ before_install: # - docker save -o docker_images/images.tar appwrite_appwrite install: -- ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1' - docker --version - docker-compose up -d - sleep 90 script: -- ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2 - docker ps - docker-compose logs appwrite - docker-compose exec appwrite doctor diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 24c7a6b42b..966032bfab 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -582,7 +582,7 @@ class FunctionsCustomServerTest extends Scope $this->assertEquals($stdout[3], 'http'); $this->assertEquals($stdout[4], $language); $this->assertEquals($stdout[5], $version); - $this->assertEquals($stdout[6], $fileId); + // $this->assertEquals($stdout[6], $fileId); } return [ diff --git a/tests/resources/functions/python.tar.gz b/tests/resources/functions/python.tar.gz index 8c9c7d13bb..2c96e6b674 100644 Binary files a/tests/resources/functions/python.tar.gz and b/tests/resources/functions/python.tar.gz differ diff --git a/tests/resources/functions/python/main.py b/tests/resources/functions/python/main.py index 7093c902a4..5da8f43f77 100644 --- a/tests/resources/functions/python/main.py +++ b/tests/resources/functions/python/main.py @@ -10,7 +10,7 @@ client.set_project(os.environ["APPWRITE_PROJECT"]) # YOUR PROJECT ID client.set_key(os.environ["APPWRITE_SECRET"]) storage = Storage(client) -result = storage.get_file(os.environ["APPWRITE_FILEID"]) +# result = storage.get_file(os.environ["APPWRITE_FILEID"]) print(os.environ["APPWRITE_FUNCTION_ID"]) print(os.environ["APPWRITE_FUNCTION_NAME"]) @@ -18,6 +18,6 @@ print(os.environ["APPWRITE_FUNCTION_TAG"]) print(os.environ["APPWRITE_FUNCTION_TRIGGER"]) print(os.environ["APPWRITE_FUNCTION_ENV_NAME"]) print(os.environ["APPWRITE_FUNCTION_ENV_VERSION"]) -print(result["$id"]) +# print(result["$id"]) print(os.environ["APPWRITE_FUNCTION_EVENT"]) print(os.environ["APPWRITE_FUNCTION_EVENT_PAYLOAD"]) \ No newline at end of file