-----Original Message-----
From: Jesse Yates [mailto:[email protected]] 
Sent: Saturday, November 12, 2011 2:36 PM
To: [email protected]
Subject: Re: (ACCUMULO-75) Modify Security Randomwalk and test with
concurrency

I would consider the randomwalk (and other tests in that suite) just an
acceptance test suite. I think it is awesome that we have it as it is great
for _really_ making sure the system is solid.

However, frameworks are more about providing a platform which is then built
on by others to enable functionality (kinda like a library). Frameworks
provide a way to think about problems and then some tools to enable you to
solve them. So a mocking framework gives you a way to think about solving
the problem of effectively unit testing and gives you mocks to help enable
to solve the problem of unit testing.

Just a nitpick, but the terminology can be important especially when things
(like the testing) are in flux.

- Jesse Yates

Sent from my iPhone.

On Nov 12, 2011, at 11:00 AM, John W Vines <[email protected]> wrote:

> 
> 
> ----- Original Message -----
> | From: "Set Cruz" <[email protected]>
> | To: [email protected]
> | Sent: Saturday, November 12, 2011 1:21:33 PM
> | Subject: (ACCUMULO-75) Modify Security Randomwalk and test with
concurrency
> | >Keith Turner commented on ACCUMULO-75:
> | 
> | >--------------------------------------
> | 
> | 
> | 
> | >Below is where you can find the scripts and XML files needed to run
> | >it.
> | 
> | 
> | 
> | >
> |
http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk
/
> | 
> | 
> | 
> | >The source code is at the following link.
> | 
> | 
> | 
> | >
> |
http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/ja
va/org/apache/accumulo/server/test/randomwalk/
> | 
> | 
> | >If you have more questions, we would be happy to answer them on the
> | mailing list.
> | 
> | Thank you.
> | 
> | I read the "test" issues on JIRA. Some refer to mock frameworks. I was
> | wondering if randomwalk was also such a test framework. I haven't read
> | the
> | code in the links above yet. If randomwalk is indeed a test framework,
> | is
> | there a link where I can read more about it? I haven't done a web
> | search
> | on randomwalk yet.
> | 
> | --Set
> 
> Randomwalk is one of our test frameworks. I don't know if it's a common
testing framework in general, but we have a 'from scratch' implementation we
use, which can be found in the test package under the server module. We
don't really have documentation for it, but I like to think it's really
simple. It just reads the XML file and loads appropriate nodes which are
implemented for the tests, and then randomly selects a weighted edge to
transition to a different node.
> 
> Hope that helps.
> John

I'm working from the README file under test/system/randomwalk but I'm
running into an issue, see below, please:

training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ sudo apt-get
remove pssh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  pssh
0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
After this operation, 201kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$
./bin/start-all.sh Image.xml
./bin/start-all.sh: line 21:
/home/training/accumulo-dev/trunk/test/system/randomwalk/bin/../../../../con
f/accumulo-env.sh: No such file or directory
copying randomwalk config to HDFS
Deleted hdfs://localhost/randomwalk
Replication 3 set: hdfs://localhost/randomwalk/config.tgz
starting walkers
./bin/start-all.sh: line 44: pssh: command not found
training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$



Reply via email to