xdstack / httpsqs

Automatically exported from code.google.com/p/httpsqs
1 stars 0 forks source link

Response for viewing the contents of the specified queue pos #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a queue of length L.
2. View the contents of the specified queue pos < 1.
3. View the contents of the specified queue pos > L.
4. View the contents of the specified queue pos (pos is not numerical).
5. View the contents of the specified queue pos >=1 && pos <=L.

What is the expected output? What do you see instead?

What I saw:
HTTPSQS_ERROR when pos < 1 (Expected)
BLANK when pos > L [(Expected): HTTPSQS_ERROR]
HTTPSQS_ERROR when pos is not numerical (Expected)
Get the right value when pos >=1 && pos <=L (Expected)

What version of the product are you using? On what operating system?

HTTP Simple Queue Service v1.1

Please provide any additional information below.

Original issue reported on code.google.com by fresco....@gmail.com on 11 Feb 2010 at 1:45

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

will return HTTPSQS_ERROR

What is the expected output? What do you see instead?

BLANK when pos > L   [According to my tests, it return HTTPSQS_ERROR]

What version of the product are you using? On what operating system?

HTTPSQS 1.1 (before March 18, 2010) & HTTPSQS 1.2 (now)

on CentOS 5.4 x86_64

Original comment by blog.s13...@gmail.com on 18 Mar 2010 at 7:59