Skip to content

Adding context to database provider #4255

Adding context to database provider

Adding context to database provider #4255

Triggered via pull request October 23, 2024 09:33
Status Failure
Total duration 1m 54s
Artifacts 1

go.yml

on: pull_request
Matrix: Example-Unit-Testing
Matrix: PKG-Unit-Testing
Code Quality🎖️
1m 45s
Code Quality🎖️
Linting Party🥳
7s
Linting Party🥳
Code Coverage
0s
Code Coverage
Upload Coverage📊
0s
Upload Coverage📊
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L25
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L27
not enough arguments in call to app.AddKVStore
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L45
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L47
not enough arguments in call to app.AddMongo
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L65
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L67
not enough arguments in call to app.AddCassandra
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L85
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.22)🛠: pkg/gofr/external_db_test.go#L87
not enough arguments in call to app.AddClickhouse
PKG Unit Testing (v1.22)🛠
Process completed with exit code 1.
PKG Unit Testing (v1.21)🛠
The job was canceled because "_1_22" failed.
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L25
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L27
not enough arguments in call to app.AddKVStore
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L45
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L47
not enough arguments in call to app.AddMongo
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L65
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L67
not enough arguments in call to app.AddCassandra
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L85
not enough arguments in call to mock.EXPECT().Connect
PKG Unit Testing (v1.21)🛠: pkg/gofr/external_db_test.go#L87
not enough arguments in call to app.AddClickhouse
PKG Unit Testing (v1.21)🛠
The operation was canceled.
Code Quality🎖️
Process completed with exit code 1.
PKG Unit Testing (v1.21)🛠
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Example Unit Testing (v1.21)🛠
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
Example-Test-Report
2.64 KB