Skip to content

Commit 4a7bc74

Browse files
committed
compare
1 parent 96f0636 commit 4a7bc74

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/pull-db-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ jobs:
163163
MYSQL_EXTRA_FLAGS: --disable-log-bin --innodb-buffer-pool-size=2G --innodb-adaptive-flushing=OFF --innodb-log-buffer-size=128M --innodb-flush-log-at-trx-commit=0 --innodb-flush-log-at-timeout=10 --innodb-flush-method=nosync --innodb-fsync-threshold=1000000
164164
ports:
165165
- "3306:3306"
166+
options: >-
167+
--mount type=tmpfs,destination=/bitnami/mysql/data
166168
elasticsearch:
167169
image: elasticsearch:7.5.0
168170
env:

modules/testlogger/testlogger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222
prefix string
2323
TestTimeout = 10 * time.Minute
2424
TestSlowRun = 10 * time.Second
25-
TestSlowFlush = 5 * time.Second
25+
TestSlowFlush = 1 * time.Second
2626
)
2727

2828
var WriterCloser = &testLoggerWriterCloser{}

tests/integration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ may not be appropriate.
102102
You can set the following environment variables:
103103

104104
```bash
105-
GITEA_TEST_SLOW_RUN="10s" GITEA_TEST_SLOW_FLUSH="5s" make test-sqlite
105+
GITEA_TEST_SLOW_RUN="10s" GITEA_TEST_SLOW_FLUSH="1s" make test-sqlite
106106
```

0 commit comments

Comments
 (0)