Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Helmut Wollmersdorfer <helmut@wollmersdorfer.at>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] user interface test of drbd.conf
Date: Wed, 20 Oct 2004 18:17:27 +0200	[thread overview]
Message-ID: <41768F97.60206@wollmersdorfer.at> (raw)

Hi,

I did some systematic test cases with the parameters and options against 
the man page.

As we do not have documents like Requirement Definition, Detailed 
Functional Specification, Interface Specification (same is true for most 
OSS/GPL projects), the documentation is the only source of "promised 
functionality".

Differences between docu and program behaviour mean wrong docu, wrong 
program, or both wrong.

Enough theory.

Here are some items:

Version 0.7.5
Method: drbdadm -d up all

1) Problem report
-----------------
docu quote:
| minor-count count
|   count may be a number from 1 to 255.

count 	expected-result	test-result
1 	valid   	passed
0 	invalid   	failed
-1 	invalid   	passed
255 	valid   	passed
256 	invalid   	failed
260 	invalid   	failed

Problem description: Parser accepts invalid values.
(assumed) generic requirement: Invalid values should be reported as 
error as near as possible to the interface. Invalid values should not 
enter a system and cause errors in later steps, or other components, or 
in worst case crash the system.

2) Problem report
-----------------
docu quote:
wfc-timeout
The sign is important.
Always use a negative value, positive will (try to) force
primary status, which is not what you want, if it  has  outdated
data.  Default is 0, which means unlimited. Unit is seconds.


100000 valid passed

Problem description: Very high, maybe senseless values are accepted.
 From my experience as tester I will not expect, that _any_ values will 
work correctly without "dry-run". Same is true for other values in 
drbd.conf.

BTW: An appropriate problem tracking system like bugzilla would be nice.

Helmut Wollmersdorfer



             reply	other threads:[~2004-10-20 16:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20041020235059.650D53BE6F@garcon.linbit.com>
2004-10-20 16:17 ` Helmut Wollmersdorfer [this message]
2004-10-20 23:13   ` [Drbd-dev] user interface test of drbd.conf Lars Ellenberg
2004-10-21 12:36     ` Helmut Wollmersdorfer
2004-10-21 13:17       ` Lars Ellenberg
2004-10-21 14:42         ` Philipp Reisner
2004-10-21 15:29           ` Helmut Wollmersdorfer
2004-10-21 15:56         ` Helmut Wollmersdorfer
2004-10-21 17:03           ` Lars Ellenberg
2004-10-20 23:58   ` Lars Ellenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41768F97.60206@wollmersdorfer.at \
    --to=helmut@wollmersdorfer.at \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox