mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
Fix flaky project rename test (#7794)
Fixes the _RefactoringTests - rename project_ part of the #7775 Changelog: - update: send the ok response before the notification to fix the order of events in tests
This commit is contained in:
parent
6fd2295cc6
commit
a7fc333ff0
@ -60,6 +60,7 @@ class RenameProjectHandler(timeout: FiniteDuration, runtimeConnector: ActorRef)
|
||||
_,
|
||||
Api.ProjectRenamed(oldNormalizedName, newNormalizedName, newName)
|
||||
) =>
|
||||
replyTo ! ResponseResult(RenameProject, id, Unused)
|
||||
context.system.eventStream.publish(
|
||||
RefactoringProtocol.ProjectRenamedNotification(
|
||||
oldNormalizedName,
|
||||
@ -67,7 +68,6 @@ class RenameProjectHandler(timeout: FiniteDuration, runtimeConnector: ActorRef)
|
||||
newName
|
||||
)
|
||||
)
|
||||
replyTo ! ResponseResult(RenameProject, id, Unused)
|
||||
cancellable.cancel()
|
||||
context.stop(self)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user