Project: springxd
Issue XD-1759: Status on Shell command prompt is inconsistent
Deployment: xd-shell local, xd-singlenode (ec2) SHA: 942c7868e3e0d0cf7730b536170438a0291f5cab [Description] Once successfully connected to a server, if you connect to a server that is not present. The prompt still shows XD when it should show server-unknown. Can be reproduced consistently. Conversely: Attempted to connect to a xd-singlenode on ec2 using a local xd-shell. The xd-singlenode was not running. After bringing up the xd-singlenode, I was able to connect however the status did not change from "server-unknown" *This behavior, can not be consistently reproduced, but have seen it happen on multiple accounts.* [Steps to reproduce] 1. Bring up shell while xd-singlenode is not running. 2. Bring up xd-singlenode 3. Connect to xd-singlenode * xd:>admin config server http://localhost:9393 4. Connect to a fake address * xd:>admin config server http://foo.bar:9393 1. Attempt to connect to remote server that is not available * xd:>admin config server http://ec2-54-237-186-186.compute-1.amazonaws.com:9393 * Unable to contact XD Admin Server at 'http://ec2-54-237-186-186.compute-1.amazonaws.com:9393'. 2. Bring up xd-singlenode on remote * server-unknown:>admin config server http://ec2-54-237-186-186.compute-1.amazonaws.com:9393 * Successfully targeted http://ec2-54-237-186-186.compute-1.amazonaws.com:9393 3. Still see the incorrect prompt. server-unknown:> server-unknown:>
Story points: 5