All of lore.kernel.org
 help / color / mirror / Atom feed
* Use of YAML for defining complex tests (or Python...?)
@ 2015-05-05 11:35 John Spray
  2015-05-05 12:15 ` Loic Dachary
  0 siblings, 1 reply; 2+ messages in thread
From: John Spray @ 2015-05-05 11:35 UTC (permalink / raw)
  To: Samuel Just, Zack Cerza; +Cc: ceph-devel@vger.kernel.org

Hi,

I noted with interest the rather complex .yaml file in this PR:
https://github.com/ceph/ceph-qa-suite/pull/428/files

...with the accompanying addition of loop constructs in this PR:
https://github.com/ceph/teuthology/pull/481

Teuthology YAML files appear to be at risk of becoming a fully fledged 
scripting language.  Why not write python scripts instead, for the more 
complex tests (e.g. anything that would need the full_sequential or loop 
constructs)?

On the cephfs side, we hit the point where test procedures were complex 
enough to need their own mini-framework inside tasks/cephfs -- a similar 
structure could be useful for people working on other subsystems as well.

Cheers,
John

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-05 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-05 11:35 Use of YAML for defining complex tests (or Python...?) John Spray
2015-05-05 12:15 ` Loic Dachary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.