Skip to content

Commit

Permalink
more error details
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermsi1337 committed Feb 14, 2025
1 parent 5062314 commit e699222
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/pkg/source/mysqltest/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,16 @@ func (mySQLDumpAndRestoreTestSuite *MySQLDumpAndRestoreTestSuite) TestBasicMySQL
mySQLDumpAndRestoreTestSuite.Require().NoError(err)

// restore test data with brudi and retrieve it from the db for verification
var restoreResult []TestStruct
restoreResult, err = mySQLDoRestore(
restoreResult, restoreErr := mySQLDoRestore(
ctx, false, commons.TestContainerSetup{
Port: "",
Address: "",
}, backupPathZip,
)
mySQLDumpAndRestoreTestSuite.Require().NoError(err)
if restoreErr != nil {
log.Errorf("%+v", restoreErr)g

Check failure on line 129 in test/pkg/source/mysqltest/mysql_test.go

View workflow job for this annotation

GitHub Actions / test

expected ';', found g
}
mySQLDumpAndRestoreTestSuite.Require().NoError(restoreErr)

assert.DeepEqual(mySQLDumpAndRestoreTestSuite.T(), testData, restoreResult)
}
Expand Down

0 comments on commit e699222

Please sign in to comment.