Skip to content

fix scheduler test#7088

Merged
MiguelAAe merged 5 commits intoSeldonIO:dom/exp-hafrom
MiguelAAe:mig/exp-ha-scheduler
Jan 14, 2026
Merged

fix scheduler test#7088
MiguelAAe merged 5 commits intoSeldonIO:dom/exp-hafrom
MiguelAAe:mig/exp-ha-scheduler

Conversation

@MiguelAAe
Copy link
Contributor

Why

Issues

Motivation

What

Summary of changes

Checklist

  • Added/updated unit tests
  • Added/updated documentation
  • Checked for typos in variable names, comments, etc.
  • Added licences for new files

Testing

@MiguelAAe MiguelAAe requested a review from lc525 as a code owner January 13, 2026 13:33
@MiguelAAe MiguelAAe changed the title Mig/exp ha scheduler fix scheduler test Jan 13, 2026
scheduler := NewSimpleScheduler(logger, mockModelServerAPI, DefaultSchedulerConfig(mockModelServerAPI), synchroniser.NewSimpleSynchroniser(time.Duration(10*time.Millisecond)), eventHub)
err := scheduler.Schedule(test.modelName)
//model, err := scheduler.store.GetModel(test.modelName) //todo?
//model.GetLastAvailableModel().Replicas //todo?
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine to not do this as it's not an integration test and the model wouldn't actually be updated right as we're just using mocks?

@MiguelAAe MiguelAAe force-pushed the mig/exp-ha-scheduler branch from 6f624bc to ff24b3c Compare January 13, 2026 16:07
@MiguelAAe MiguelAAe merged commit ba96b71 into SeldonIO:dom/exp-ha Jan 14, 2026
0 of 2 checks passed
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.

2 participants