Skip to content

Commit ca0c38d

Browse files
committedMar 14, 2025
move mcp yaml
1 parent 4cb6b26 commit ca0c38d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎test/extended/machine_config/machine_config_node.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ const (
2626
var _ = g.Describe("[sig-mco][OCPFeatureGate:MachineConfigNode][Serial]", func() {
2727
defer g.GinkgoRecover()
2828
var (
29-
MCOMachineConfigurationBaseDir = exutil.FixturePath("testdata", "machine_config", "machineconfigurations")
30-
infraMCPFixture = filepath.Join(MCOMachineConfigurationBaseDir, "infra-mcp.yaml")
31-
oc = exutil.NewCLIWithoutNamespace("machine-config")
29+
MCOMachineConfigPoolBaseDir = exutil.FixturePath("testdata", "machine_config", "machineconfigpool")
30+
infraMCPFixture = filepath.Join(MCOMachineConfigPoolBaseDir, "infra-mcp.yaml")
31+
oc = exutil.NewCLIWithoutNamespace("machine-config")
3232
)
3333

3434
// TODO: Update to properly cleanup after tests
@@ -142,6 +142,7 @@ func CleanupCustomMCP(oc *exutil.CLI) {
142142
// Wait for worker MCP to be updated
143143
// TODO: fix this since it seemes to not wait long enough to actually catch the mcp needing an update and being updated
144144
// TODO: maybe check the node annotations instead?
145+
// TODO: Maybe update WaitForMCPToBeReady to take an int again but have it be a number representing the previous number of machines in the pool? so that the updated can also chek if ready machine count is greater than the previous count.
145146
framework.Logf("Waiting for worker MCP to re-sync.")
146147
WaitForMCPToBeReady(oc, worker)
147148

0 commit comments

Comments
 (0)