Project

General

Profile

Bug #2639

Incorrect format specification in SendKey

Added by Igor Skornyakov over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Igor Skornyakov
Start date:
08/14/2015
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

History

#1 Updated by Igor Skornyakov over 8 years ago

It seems that there is a misprint in the com.goldencode.harness.test.SendKey. The format specification SPEC3 is:

   /** Another format specification for drain mode. */
   private static final String SPEC3 = "timeout occurred before all output " +
                                       "could be read (%d bytes read)";

and it is used as:

                  reason = String.format(SPEC3, reason, newCount);

which results in a confusing error message. I suggest to modify the format like this:

   private static final String SPEC3 = "timeout occurred before all output " +
                                       "could be read [%s] (%d bytes read)";

#2 Updated by Igor Skornyakov over 8 years ago

created task branch 2639a

#3 Updated by Igor Skornyakov over 8 years ago

Fixed format literal.
Commited to branch 2639a, revno 8

#4 Updated by Greg Shah over 8 years ago

Code Review Task Branch 2639a Revision 8

It looks good. Merge to trunk when it passes your testing.

#5 Updated by Igor Skornyakov over 8 years ago

It seems that the changed harness works fine. Can I merge my changes?
Thank you.

#6 Updated by Greg Shah over 8 years ago

Yes, please do. As with #2603, when you send out the notification email, make sure you explain to people that how they can pull down the latest harness code to their devsrv01 testing environments.

#7 Updated by Igor Skornyakov over 8 years ago

The task branch passed regression testing and was merged with the harness trunk and checked in as revision 8.

#8 Updated by Greg Shah over 8 years ago

make sure you explain to people that how they can pull down the latest harness code to their devsrv01 testing environments.

I think you forgot this part.

Also: please archive both task branches 2603a and 2639a.

#9 Updated by Igor Skornyakov over 8 years ago

Greg Shah wrote:

make sure you explain to people that how they can pull down the latest harness code to their devsrv01 testing environments.

I think you forgot this part.

Also: please archive both task branches 2603a and 2639a.

Sorry, I've sent an additional mail. Actually I've archived 2603a and 2639a. There was however 2603aa branch which I've created by mistake. It is removed now.

#10 Updated by Greg Shah over 8 years ago

  • Status changed from New to Closed
  • Assignee set to Igor Skornyakov

Also available in: Atom PDF