[ARVADOS] updated: 1.3.0-2761-g3ab8fdaa6

Git user git at public.arvados.org
Wed Jul 22 13:17:32 UTC 2020


Summary of changes:
 services/api/config/initializers/time_zone.rb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

       via  3ab8fdaa6d7f539e4c4a3e203542474ac2496d2d (commit)
      from  3add4fd38b1fcf2935b227a17e106ecaa05d3f67 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 3ab8fdaa6d7f539e4c4a3e203542474ac2496d2d
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Wed Jul 22 10:16:54 2020 -0300

    16470: Just a test to be run on Jenkins
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/services/api/config/initializers/time_zone.rb b/services/api/config/initializers/time_zone.rb
index 1ab5521b9..7bdbbcf1b 100644
--- a/services/api/config/initializers/time_zone.rb
+++ b/services/api/config/initializers/time_zone.rb
@@ -11,7 +11,5 @@ ActiveRecord::Base.connection.class.set_callback :checkout, :after do
   # before now()), but false in time zone -0100 (now() returns an
   # earlier clock time, and its time zone is dropped when comparing to
   # a "timestamp without time zone").
-  if Rails.env != "test"
-    raw_connection.sync_exec("SET TIME ZONE 'UTC'")
-  end
+  raw_connection.sync_exec("SELECT 1")
 end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list