Skip to content

Migration test error (v230) #21854

Closed
@harryzcy

Description

@harryzcy

Description

Migration v230 is producing the following error

2022/11/18 05:17:49 ...s/setting/setting.go:812:loadFromConf() [I] The provided APP_DATA_PATH: tests/integration/gitea-integration-mysql/data is not absolute - it will be made absolute against the work path: /tmp/go-build1544829216/b001
2022/11/18 05:17:49 ...dules/setting/log.go:288:newLogService() [I] Gitea v
=== Test_UpdateOpenMilestoneCounts (/drone/src/models/migrations/v1_18/v229_test.go:20)
=== Test_AddConfidentialClientColumnToOAuth2ApplicationTable (/drone/src/models/migrations/v1_18/v230_test.go:22)
--- FAIL: Test_AddConfidentialClientColumnToOAuth2ApplicationTable (0.14s)
    v230_test.go:22: no fixtures found in: /drone/src/models/migrations/fixtures/Test_AddConfidentialClientColumnToOAuth2ApplicationTable
    v230_test.go:44: 
        	Error Trace:	/drone/src/models/migrations/v1_18/v230_test.go:44
        	Error:      	Should NOT be empty, but was []
        	Test:       	Test_AddConfidentialClientColumnToOAuth2ApplicationTable
FAIL
FAIL	code.gitea.io/gitea/models/migrations/v1_18	0.601s
FAIL

Gitea Version

main (c144942)

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

In integration test on Drone

Database

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions