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

e2e,sgx: divide single It() to have multiple layers #1469

Merged
merged 2 commits into from
Jul 26, 2023
Merged

e2e,sgx: divide single It() to have multiple layers #1469

merged 2 commits into from
Jul 26, 2023

Conversation

hj-johannes-lee
Copy link
Contributor

@hj-johannes-lee hj-johannes-lee commented Jul 7, 2023

Structure is as follows:

Structure is as follows:
Describe("SGX plugin")
  BeforeEach("deploys plugin")
  Context("When device resources are available")
    BeforeEach("checks if resources are available")
    It("runs a pod requesting resources")
  AfterEach("undeploys plugin")

This is basically same structure as DSA, DLB, IAA, QAT E2E tests (#1263).

Copy link
Contributor

@mythi mythi left a comment

Choose a reason for hiding this comment

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

let me know in which order you prefer to have the PRs handled

test/e2e/sgx/sgx.go Outdated Show resolved Hide resolved
test/e2e/sgx/sgx.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2023

Codecov Report

Merging #1469 (16ff810) into main (91d826f) will not change coverage.
The diff coverage is n/a.

❗ Current head 16ff810 differs from pull request most recent head 56df81a. Consider uploading reports for the commit 56df81a to get more accurate results

@@           Coverage Diff           @@
##             main    #1469   +/-   ##
=======================================
  Coverage   50.04%   50.04%           
=======================================
  Files          43       43           
  Lines        4884     4884           
=======================================
  Hits         2444     2444           
  Misses       2301     2301           
  Partials      139      139           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Structure is as follows:
Describe("SGX plugin")
  BeforeEach("deploys plugin")
  Context("When device resources are available")
    BeforeEach("checks if resources are available")
    It("runs a pod requesting resources")
  AfterEach("undeploys plugin")

Signed-off-by: Hyeongju Johannes Lee <[email protected]>
rename err as errPodNotRunning so it does not shadow the previous
declaration

Signed-off-by: Hyeongju Johannes Lee <[email protected]>
@hj-johannes-lee
Copy link
Contributor Author

@mythi When you have time, please take a look.! :)

@mythi mythi merged commit f740a0e into intel:main Jul 26, 2023
@hj-johannes-lee hj-johannes-lee deleted the PR-2023-20 branch August 1, 2023 19:54
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.

3 participants