Skip to content

Error running method "end_test" of plugin "tap": I/O operation on closed file. #5749

Closed Answered by richtja
marioaag asked this question in Q&A
Discussion options

You must be logged in to vote

I see, unfortunately right now each Job has its own directory. AFAIK there is no easy way how to achieve this.

Since I don't know your exact use-case I am just guessing here, but if you want to run some code between suites, maybe you could use one of these options:

  1. You can create your own SuiteRunner which will be based on avocado SuiteRunner and add your code there. Of course, this is a complex solution and it might be difficult to maintain.
  2. We plan to add suite dependencies in 104, which will introduce Pre/Post Suite plugins. Then you could create your own plugin which will run your code between suites. This will be an easier solution, but we don't support it yet. Therefore, you have t…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@richtja
Comment options

Comment options

You must be logged in to vote
2 replies
@richtja
Comment options

Answer selected by marioaag
@marioaag
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants