Skip to content

Commit

Permalink
Don't update the e2e test command uuid if it's empty
Browse files Browse the repository at this point in the history
  • Loading branch information
kstenerud committed Jan 15, 2024
1 parent 2b9dfe8 commit 94568fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ GEM
mime-types-data (~> 3.2015)
mime-types-data (3.2023.1205)
multi_test (0.1.2)
nokogiri (1.16.0-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.0-x86_64-darwin)
racc (~> 1.4)
optimist (3.0.1)
Expand Down Expand Up @@ -116,6 +118,7 @@ GEM
websocket-extensions (0.1.5)

PLATFORMS
arm64-darwin-22
x86_64-darwin-19

DEPENDENCIES
Expand Down
4 changes: 3 additions & 1 deletion features/fixtures/ios/Fixture/CommandReaderThread.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ class CommandReaderThread: Thread {
case CommandFetchState.success:
logDebug("Command fetch: Request succeeded")
let command = fetchTask.command!
lastCommandID = command.uuid
if (command.uuid != "") {
lastCommandID = command.uuid
}
commandReceiver.receiveCommand(command: command)
return
case CommandFetchState.fetching:
Expand Down

0 comments on commit 94568fa

Please sign in to comment.