Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRT-355 Rename e2e test file #258

Merged
merged 8 commits into from
Jan 25, 2023
Merged

Conversation

kajeagentspi
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • Commit message follows the Contribution Guidelines
  • Tests ran locally and added/modified if needed
  • Docs have been added/updated, if applicable
  • If applicable - JIRA ticket ID was added
  • What kind of change does this PR introduce? (Bug fix, feature, unit tests, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Please describe what manual tests you ran, if applicable

  • Other information:

@kajeagentspi kajeagentspi changed the title PRT-255 Rename e2e test file PRT-355 Rename e2e test file Jan 24, 2023
@ranlavanet
Copy link
Contributor

@kajeagentspi please add the eth fixes to this pr so we can merge this to main

@kajeagentspi kajeagentspi force-pushed the PRT-355-fix-e-2-e-not-running branch 2 times, most recently from 8d9dd0c to 356eff7 Compare January 25, 2023 11:54
Copy link
Contributor

@Aleksao998 Aleksao998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good 🚀 i see that tests passed on github actions, but when i ran them locally using:

go test ./testutil/e2e/ -v -timeout 1200s

i get an panic:

Jan 25 13:41:14 INF Waiting JSONRPC Gateway
panic: Error found in logs

goroutine 538 [running]:
github.com/lavanet/lava/testutil/e2e.(*lavaTest).saveLogs(0xc000d8f900)
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:681 +0x49e
github.com/lavanet/lava/testutil/e2e.(*lavaTest).listenCmdCommand(0xc000d8f900, 0x0?, {0x145513e, 0x31}, {0x141fb4b, 0x13})
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:259 +0xa9
github.com/lavanet/lava/testutil/e2e.(*lavaTest).startJSONRPCGateway.func1()
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:240 +0x3a
created by github.com/lavanet/lava/testutil/e2e.(*lavaTest).startJSONRPCGateway
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:239 +0x2ed
FAIL    github.com/lavanet/lava/testutil/e2e    52.915s
FAIL
Jan 25 13:41:14 INF Waiting JSONRPC Gateway
panic: Error found in logs

goroutine 538 [running]:
github.com/lavanet/lava/testutil/e2e.(*lavaTest).saveLogs(0xc000d8f900)
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:681 +0x49e
github.com/lavanet/lava/testutil/e2e.(*lavaTest).listenCmdCommand(0xc000d8f900, 0x0?, {0x145513e, 0x31}, {0x141fb4b, 0x13})
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:259 +0xa9
github.com/lavanet/lava/testutil/e2e.(*lavaTest).startJSONRPCGateway.func1()
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:240 +0x3a
created by github.com/lavanet/lava/testutil/e2e.(*lavaTest).startJSONRPCGateway
        /home/aleksaopacic/Documents/Projects/lava/testutil/e2e/e2e.go:239 +0x2ed
FAIL    github.com/lavanet/lava/testutil/e2e    52.915s
FAIL

Do you know why is this happening?

testutil/e2e/e2e.go Show resolved Hide resolved
.github/workflows/e2e.yml Show resolved Hide resolved
@ranlavanet
Copy link
Contributor

I also get a panic

@ranlavanet ranlavanet dismissed Aleksao998’s stale review January 25, 2023 17:09

we need this merged we dont have any tests

@ranlavanet ranlavanet merged commit 4c601f6 into main Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants