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

Add e2e validation test for kine #7168

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

vitorsavian
Copy link
Member

@vitorsavian vitorsavian commented Oct 31, 2024

Proposed Changes

  • E2E validation for kine

Types of Changes

  • Test

Verification

  • See CI

Testing

Linked Issues

User-Facing Change


Further Comments

  • Why a new test and not with validateCluster? My main thought was that the validateCluster test was made for rke2 without experimental features, so kine needs its own place.

Copy link
Contributor

@VestigeJ VestigeJ left a comment

Choose a reason for hiding this comment

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

LGTM nice

var agentCount = flag.Int("agentCount", 1, "number of agent nodes")
var ci = flag.Bool("ci", false, "running on CI")

// Environment Variables Info:
Copy link
Member

Choose a reason for hiding this comment

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

Add a line here about E2E_EXTERNAL_DB as that is the primary variable that will change with this test.

tests/e2e/kine/Vagrantfile Show resolved Hide resolved
@@ -0,0 +1,157 @@
ENV['VAGRANT_NO_PARALLEL'] = ENV['E2E_STANDUP_PARALLEL'] ? nil : 'no'
NODE_ROLES = (ENV['E2E_NODE_ROLES'] ||
["server-0"])
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's change the default to 3 server if we want to run with three servers

Copy link
Member

@dereknola dereknola Nov 1, 2024

Choose a reason for hiding this comment

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

Why would 3 servers need to be the default, its all the same for External DB

@vitorsavian vitorsavian force-pushed the e2e-kine branch 3 times, most recently from 740314e to f7cb0c7 Compare November 1, 2024 18:59
@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 8.87%. Comparing base (3af06a5) to head (d862ce5).
Report is 1 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (3af06a5) and HEAD (d862ce5). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3af06a5) HEAD (d862ce5)
unittests 1 0
Additional details and impacted files
@@            Coverage Diff            @@
##           master   #7168      +/-   ##
=========================================
- Coverage   16.62%   8.87%   -7.76%     
=========================================
  Files          32      33       +1     
  Lines        3423    3438      +15     
=========================================
- Hits          569     305     -264     
- Misses       2812    3110     +298     
+ Partials       42      23      -19     
Flag Coverage Δ
inttests 8.87% <ø> (?)
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

6 participants