diff options
author | lain <lain@soykaf.club> | 2019-02-17 17:47:24 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-02-17 17:47:24 +0100 |
commit | 71c8c60ded8dce402dbe69545afebd55c63927e5 (patch) | |
tree | 1fe462d59c7d1a1ee650a6970960f7bca67b761a | |
parent | fa191a658b373eb53ab0a44ab0529fb8635cfd74 (diff) | |
download | pleroma-71c8c60ded8dce402dbe69545afebd55c63927e5.tar.gz |
More speedup, test fixes.
-rw-r--r-- | .gitlab-ci.yml | 4 | ||||
-rw-r--r-- | test/web/common_api/common_api_test.exs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eeddce69e..6deb0a1de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: elixir:1.7.2 services: - name: postgres:9.6.2 - command: ["postgres", "-c", "fsync=off"] + command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"] variables: POSTGRES_DB: pleroma_test @@ -36,4 +36,4 @@ lint: unit-testing: stage: test script: - - mix test --trace + - mix test --trace --preload-modules diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index d26b6e49c..870648fb5 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -2,7 +2,7 @@ # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/> # SPDX-License-Identifier: AGPL-3.0-only -defmodule Pleroma.Web.CommonAPI.Test do +defmodule Pleroma.Web.CommonAPITest do use Pleroma.DataCase alias Pleroma.Web.CommonAPI alias Pleroma.User |