[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST] standalone: add blessing to flights table.



sg-check-tested wants this to exist.

I haven't implemented Osstest/JobDB/Standalone::job_ensure_started, which
should transition from 'contructing' to 'running' because I'm not hitting that
path.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 Osstest/JobDB/Standalone.pm | 4 ++--
 standalone-reset            | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Osstest/JobDB/Standalone.pm b/Osstest/JobDB/Standalone.pm
index 14293ef..45ec9ca 100644
--- a/Osstest/JobDB/Standalone.pm
+++ b/Osstest/JobDB/Standalone.pm
@@ -67,8 +67,8 @@ END
     }
     $dbh_tests->do(<<END, {}, $fl, $branch, $intended);
              INSERT INTO flights
-                         (flight, branch, intended)
-                  VALUES (?, ?, ?)
+                         (flight, blessing, branch, intended)
+                  VALUES (?, 'constructing', ?, ?)
 END
     return $fl
 }
diff --git a/standalone-reset b/standalone-reset
index 8be7e86..83a6606 100755
--- a/standalone-reset
+++ b/standalone-reset
@@ -131,6 +131,7 @@ else
        sqlite3 standalone.db <<END
                CREATE TABLE flights (
                        flight TEXT PRIMARY KEY,
+                       blessing TEXT,
                        intended TEXT,
                        branch TEXT
                        );
-- 
1.8.5.2


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.