Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions desktop/internal/workbench/settings_plugin_effects_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ func TestPluginSettingsLatestQueuedDeadlineRequiresRestart(t *testing.T) {
server := &pluginServer{project: p, session: &pluginservice.LanguageSession{PluginID: "example", Version: "1.0.0"}, cancel: func() {}, done: make(chan struct{}), settingsGate: make(chan struct{}, 1)}
server.settingsGate <- struct{}{}
h.app.pluginServers = map[string]*pluginServer{"example": server}
// The bare service has no runs, builds or backends; the harness closes the project with the
// workbench's own service, as the other tests that swap it in do.
original := h.app.plugins
h.app.plugins = &pluginservice.Service{}
defer func() { h.app.plugins = original }()
h.app.applyLivePluginSettings(p, "example", "1.0.0")
h.settle()
if _, pending := h.app.pluginSettingsRestart.Load("example"); !pending {
Expand Down
Loading